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: FloatingPointFormatStyle<Value>.Configuration.Precision) -> FloatingPointFormatStyle<Value>
Parameters
pThe precision to apply to the format style.
Return Value
A floating-point format style modified to use the specified precision.