NumberFormatOptions

public struct NumberFormatOptions : Codable, Equatable, ExpressionArgumentConvertible

Undocumented

  • Specifies the locale to use, as a BCP 47 language tag.

    Declaration

    Swift

    public var locale: String?
  • Specifies an ISO 4217 code to use for currency-style formatting.

    Declaration

    Swift

    public var currency: String?
  • Minimum number of fractional digits to include.

    Declaration

    Swift

    public var minFractionDigits: Int?
  • Maximum number of fractional digits to include.

    Declaration

    Swift

    public var maxFractionDigits: Int?
  • Declaration

    Swift

    public var expressionArguments: [Expression.Argument] { get }
  • Undocumented

    Declaration

    Swift

    public init(locale: String?, currency: String?, minFractionDigits: Int?, maxFractionDigits: Int?)