| id | Format.useCurrencyAccountingStyle |
|---|---|
| type | Boolean |
| default | true |
Specifies whether to apply the accounting style to formatted numbers of the currency type.
The accounting style adds parentheses to negative numbers instead of the minus sign. To disable the accounting style in the component and display formatted numbers of the currency type with the minus sign, set this property to false.
format({
type: "currency",
useCurrencyAccountingStyle: false
});
If you do not specify this property, the defaultUseCurrencyAccountingStyle global configuration setting is in effect. The useCurrencyAccountingStyle property has priority over the global setting.
