currency
The currency property indicates whether to include a currency symbol before the value in a numeric field, with the exact position of the symbol determined by the zeroFormat property. The formatting of fields of type MONEY depends on the value of strLib.defaultMoneyFormat and is not affected by the currency property.
Values of the currency property are as
follows:
- No (the default)
- Do not use a currency symbol.
- Yes
- Use the symbol specified in currencySymbol. If no value is specified there, use the default currency symbol. See "Compatibility."
Compatibility
| Data item | VGUI record | Console UI | Text Form Java™ | Text Form COBOL | Print Form Java™ | Print Form COBOL |
|---|---|---|---|---|---|---|
| Yes | Yes | No | Yes | Yes | Yes | Yes |
The property is used for input and output.
| Platform | Issue |
|---|---|
| Java™ generation | The machine locale determines the default currency symbol. |
| COBOL generation | The national language option determines the default currency symbol.. |