Base-n Converter
Blitz3D Forums/Blitz3D Programming/Base-n Converter
| ||
I've searched the Code Archives for Base-n Converter (ie: Base-36 to Decimal, visa versa) with no luck. Does anyone know where to find one, have some code? Otherwise I will code one and put it into the archives. |
| ||
Why don't you use Mod instruction? value% Mod 36 for example will gladly replicate what you're asking for. |
| ||
Im using the Base36 (Sexatrigesimal ) instead of Base16 Hexidecimal. It produces numerical values with 0-9,A-Z. Just want to save myself a little if time, if a converter is available. |
| ||
hmm I see. Is that for encryption? :P |
| ||
It can be used for encryption or compression. Yoohooo!! I found a base converter in the archives -- http://www.blitzbasic.com/codearcs/codearcs.php?code=1972 |