| id | GlobalConfig.defaultUseCurrencyAccountingStyle |
|---|---|
| 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 globally and display formatted numbers of the currency type with the minus sign, set this property to false.
<!-- tab: index.js -->
DevExpress.config({ defaultUseCurrencyAccountingStyle: false });
// ===== or when using modules =====
import config from "devextreme/core/config";
config({
defaultCurrency: 'EUR'
});
<!-- tab: app.component.ts -->
import config from "devextreme/core/config";
config({
defaultUseCurrencyAccountingStyle: false
});
<!-- tab: App.vue -->
import config from "devextreme/core/config";
config({
defaultUseCurrencyAccountingStyle: false
});
<!-- tab: App.js -->
import config from "devextreme/core/config";
config({
defaultUseCurrencyAccountingStyle: false
});
This property specifies the global accounting style setting. If you want to override this setting for a component, specify the useCurrencyAccountingStyle property in the component's format object.
