Macro Library chgbase

A library of base changing functions. Version 1.0, Nov 13, 2007

baseconvert

baseconvert(num,from,to)
converts the number num from base-"from" to base-"to"
For example, baseconvert(23,5,7) converts 23-base5 to base7
if a base is >10, then each place should be given (or will be returned)
separated by commas, eg. 5,12,3

asciitodec

asciitodec(char)
returns the ASCII decimal code for a character

dectoascii

dectoascii(num)
returns the ASCII character for a decimal value