Type Method
show(length:rounded:increment:)
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.
static func show(length: Int, rounded rule: FloatingPointRoundingRule = .toNearestOrEven, increment: Double? = nil) -> Duration.UnitsFormatStyle.FractionalPartDisplayStrategy
Parameters
lengthThe length of the fractional part.
ruleRounding rule for the remaining value.
incrementRounding increment for the remaining value.