Lucee Function Reference
lsnumberformat()
Formats a number to the given format mask in the current locale
Example
lsnumberformat(any number,[string mask,[locale locale]]):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 |
mask | string | No | |
locale | locale | No | Locale to use instead of the locale of the page when processing the function |