---
title: NumberFormatter.Style.currencyAccounting
framework: foundation
role: symbol
role_heading: Case
path: foundation/numberformatter/style/currencyaccounting
---

# NumberFormatter.Style.currencyAccounting

An accounting currency style format that uses the currency symbol defined by the number formatter locale.

## Declaration

```swift
case currencyAccounting
```

## Discussion

Discussion This style behaves like the NumberFormatter.Style.currency style, except that negative numbers representations are surrounded by parentheses rather than preceded by a negative symbol. For example, in the en_US locale, the number -1234.5678 is represented as ($1,234.57); in the fr_FR locale, the number -1234.5678 is represented as (1 234,57 €).

## See Also

### Formatting Styles

- [NumberFormatter.Style.none](foundation/numberformatter/style/none.md)
- [NumberFormatter.Style.decimal](foundation/numberformatter/style/decimal.md)
- [NumberFormatter.Style.percent](foundation/numberformatter/style/percent.md)
- [NumberFormatter.Style.scientific](foundation/numberformatter/style/scientific.md)
- [NumberFormatter.Style.spellOut](foundation/numberformatter/style/spellout.md)
- [NumberFormatter.Style.ordinal](foundation/numberformatter/style/ordinal.md)
- [NumberFormatter.Style.currency](foundation/numberformatter/style/currency.md)
- [NumberFormatter.Style.currencyISOCode](foundation/numberformatter/style/currencyisocode.md)
- [NumberFormatter.Style.currencyPlural](foundation/numberformatter/style/currencyplural.md)
