integerLength(_:)
Returns a precision that constrains formatted values to a range of allowed digits in the integer part.
Declaration
static func integerLength<R>(_ limits: R) -> NumberFormatStyleConfiguration.Precision where R : RangeExpressionParameters
- limits:
A range from the minimum to the maximum number of digits to use when formatting the integer part of a number.
Return Value
A precision that constrains formatted values to ranges of digits in the integer part.