PrintNum(n, base)

Outputs the number n i a 'base' number system. Example:

PrintNum(587, 2) = 1001001011
PrintNum(587, 4) = 21023
PrintNum(587, 6) = 2415
PrintNum(587, 8) = 1113
PrintNum(587, 10) = 587
PrintNum(587, 12) = 40B
PrintNum(587, 14) = 2DD
PrintNum(587, 16) = 24B

Current version is 1.0

md5sum: dc645efcc48b79eb04ecc4df8df9f994  printnum.tar.gz

For Your Eyes Only
"The paradox of poverty amongst the paradise of plenty."

Last update: Wednesday, 15th July, 2009
Copyright © 2001-2010 by Lukasz Tomicki