DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
currency¶
Changes a number to a formatted version with two decimals. The decimals point and thousands separator are configurable.
Example
- Submitted data: 100000.99
- Filtered: 100 000,99
filters {
1 = currency
1 {
decimalPoint = ,
thousandSeparator = space
}
}
decimalPoint¶
- Property:
- decimalPoint
- Data type:
- string
- Description:
- Value for the decimal point, mostly a dot '.' or a comma ','
- Default:
- .
thousandSeparator¶
- Property:
- thousandSeparator
- Data type:
- string
- Description:
Value for the thousand separator.
Special values:
- space : Adds a space as thousand separator
- none : No thousand separator
- Default:
- ,
[tsref:(cObject).FORM->filters.currency]