Initializer
init(lengthLimits:roundingRule:roundingIncrement:)
iOS 16.0+
iPadOS 16.0+
Mac Catalyst 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
Displays the remaining part as the fractional part of the smallest unit.
init<Range>(lengthLimits: Range, roundingRule: FloatingPointRoundingRule = .toNearestOrEven, roundingIncrement: Double? = nil) where Range : RangeExpression, Range.Bound == Int
Parameters
lengthLimitsThe range of the length of the fractional part.
roundingRuleRounding rule for the remaining value.
roundingIncrementRounding increment for the remaining value.