Lucee Function Reference

decimalformat()

Converts a number to a decimal-formatted string.

Example

decimalformat(any number):string

Category

number,string,formatting

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
number any  Yes Number to format