Precision
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct Precision
struct Precision
s30FoundationInternationalization30NumberFormatStyleConfigurationO9PrecisionV
What are these?5XCZ4
import FoundationInternationalization
enum NumberFormatStyleConfiguration
struct DecimalSeparatorDisplayStrategy
struct Grouping
struct Notation
struct SignDisplayStrategy
typealias RoundingRule = FloatingPointRoundingRule
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 func fractionLength(_ length: Int) -> NumberFormatStyleConfiguration.Precision
static func fractionLength<R>(_ limits: R) -> NumberFormatStyleConfiguration.Precision where R : RangeExpression, R.Bound == Int
static func integerAndFractionLength(integer: Int, fraction: Int) -> NumberFormatStyleConfiguration.Precision
static func integerAndFractionLength<R1, R2>(integerLimits: R1, fractionLimits: R2) -> NumberFormatStyleConfiguration.Precision where R1 : RangeExpression, R2 : RangeExpression, R1.Bound == Int, R2.Bound == Int
static func integerLength(_ length: Int) -> NumberFormatStyleConfiguration.Precision
static func integerLength<R>(_ limits: R) -> NumberFormatStyleConfiguration.Precision where R : RangeExpression
static func significantDigits(_ digits: Int) -> NumberFormatStyleConfiguration.Precision
static func significantDigits<R>(_ limits: R) -> NumberFormatStyleConfiguration.Precision where R : RangeExpression, R.Bound == Int
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.