Static Methodswift 6.0.3FoundationInternationalization
accountingAlways(showZero:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
static func accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
static func accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
s30FoundationInternationalization32CurrencyFormatStyleConfigurationO19SignDisplayStrategyV16accountingAlways8showZeroAESb_tFZ
What are these?4NPV3
import FoundationInternationalization
struct SignDisplayStrategy
enum CurrencyFormatStyleConfiguration
@frozen struct Bool
A value type whose instances are either true
or false
.
init(from decoder: any Decoder) throws
static var accounting: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static var automatic: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static var never: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static func always(showZero: Bool = true) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy