Convert a Decimal Number in a Given Base
Just a little something to help you do math in different numbering systems. Option Explicit ‘Convert a decimal number in another basePublic Function CBase(ByVal number As Long, ByVal base As Long) As String ‘symbols to code the number Const chars = “0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ” Dim r As Long ‘verify if there are enought symbols to code the number in the selected base If base… Read More »