Skip to content

Type Method

hide(rounded:)

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
Excludes the remaining part with the specified rounding rule.
static func hide(rounded: FloatingPointRoundingRule = .toNearestOrEven) -> Duration.UnitsFormatStyle.FractionalPartDisplayStrategy

Parameters

rounded

Rounding rule for the remaining value.