---
title: "accountingAlways(showZero:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/currencyformatstyleconfiguration/signdisplaystrategy/accountingalways(showzero:)"
---

# accountingAlways(showZero:)

A sign display strategy to use accounting principles, with a configurable behavior for handling zero values.

## Declaration

```swift
static func accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
```

## Parameters

- `showZero`: A Boolean value that indicates whether to show the sign symbol on zero values. Defaults to false.

## Return Value

Return Value A strategy that uses accounting principles, and the specified handling of zero values.

## See Also

### Specifying sign display strategy

- [never](foundation/currencyformatstyleconfiguration/signdisplaystrategy/never.md)
- [automatic](foundation/currencyformatstyleconfiguration/signdisplaystrategy/automatic.md)
- [accounting](foundation/currencyformatstyleconfiguration/signdisplaystrategy/accounting.md)
- [always(showZero:)](foundation/currencyformatstyleconfiguration/signdisplaystrategy/always(showzero:).md)
