Lucee Function Reference

dollarformat()

Formats a string in U.S. format. (For other currencies, use
LSCurrencyFormat)

Example

dollarformat(string number):string

Category

currency,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 string  Yes Number to format