SignDisplayStrategy
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct SignDisplayStrategy
struct SignDisplayStrategy
s30FoundationInternationalization32CurrencyFormatStyleConfigurationO19SignDisplayStrategyV
What are these?3JJT
import FoundationInternationalization
enum CurrencyFormatStyleConfiguration
struct Presentation
typealias DecimalSeparatorDisplayStrategy = NumberFormatStyleConfiguration.DecimalSeparatorDisplayStrategy
typealias Grouping = NumberFormatStyleConfiguration.Grouping
typealias Notation = NumberFormatStyleConfiguration.Notation
The type used to configure notation for currency format styles.
typealias Precision = NumberFormatStyleConfiguration.Precision
typealias RoundingRule = NumberFormatStyleConfiguration.RoundingRule
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
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 accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
static func always(showZero: Bool = true) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.