Ever need to work with hexadecimal numbers (or any other non base-10 numbers)? ColdFusion will not automatically treat these as numbers, it’s your job to convert them to “regular” numbers first. You can do this using the InputBaseN() function which takes a string and a base and returns a number. To convert numbers to other bases use the matching FormatBaseN() function. (Applies to: ColdFusion All)

Leave a Reply