<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/CurrencyFormatStyleConfiguration/SignDisplayStrategy/accountingAlways(showZero:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation32CurrencyFormatStyleConfigurationO19SignDisplayStrategyV16accountingAlways8showZeroAESb_tFZ"
  },
  "title" : "accountingAlways(showZero:)"
}
-->

# accountingAlways(showZero:)

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

```
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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)