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: Decimal.FormatStyle.Percent.Configuration.Precision) -> Decimal.FormatStyle.Percent
Parameters
pThe precision to apply to the format style.
Return Value
A decimal percent format style modified to use the specified precision.