Lucee Function Reference

inputbasen()

Converts string, using the base specified by radix, to an
integer. For example: #InputBaseN("3ff",16)#

Example

inputbasen(string string,number radix):number

Category

number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
string string  Yes String that represents a number, in the base specified by radix.  
radix number  Yes Base of the number represented by string, in the range 2-36.