Skip to content

Instance Method

precision(_:)

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
Modifies the format style to use the specified precision.
func precision(_ p: IntegerFormatStyle<Value>.Configuration.Precision) -> IntegerFormatStyle<Value>

Parameters

p

The precision to apply to the format style.

Return Value

An integer format style modified to use the specified precision.