PURPOSE
: Convert
positive integer base 10 number to target number system using passed in characters.
SYNTAX
: number:Integer
call fNumToChars
RETURNS
: String
Equivalent target number system representation of the decimal number
as a string.
Empty string on error.
EXAMPLES
:
176 to HEX
_characters = ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];
[176,_characters] call fNumToChars -> "B0"
12245997 to BINARY
_characters = ["0","1"];
[12245997,_characters] call fNumToChars -> "101110101101101111101101"
HISTORY
: CoC bn880 06/03/2003
DEPENDENCIES: CoC_LIBNUMSYS