Inside Coldfusion MX

"-->

InputBaseN (string, radix)

Description

Converts a string, using the base specified by radix, to an integer.

Example

<cfoutput> InputBaseN("1010",2): # InputBaseN("1010",2) # InputBaseN("3ff",16): # InputBaseN("3ff",16) # InputBaseN("125",10): # InputBaseN("125",10) # InputBaseN(1010,2): # InputBaseN(1010,2) # </cfoutput>

Категории