Name

FormatBaseN

Synopsis

FormatBaseN(number, radix)

Converts number to a string in the base specified by radix. Valid values for radix are integers in the range of 2 to 36. Examples:

<CFOUTPUT>
FormatBaseN(1,2): #FormatBaseN(1,2)#<BR>
FormatBaseN(10,2): #FormatBaseN(10,2)#<BR>
FormatBaseN(100,2): #FormatBaseN(100,2)#<BR>
FormatBaseN(1,6): #FormatBaseN(1,6)#<BR>
FormatBaseN(10,6): #FormatBaseN(10,6)#<BR>
FormatBaseN(100,6): #FormatBaseN(100,6)#<BR>
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.