Contents

percent

A style for formatting decimal values as a percent represntation.

Declaration

static var percent: Decimal.FormatStyle.Percent { get }

Discussion

Use this type property when the call point allows the use of Decimal.FormatStyle. You typically do this when calling the formatted(_:) method of Decimal.

See Also

Applying percentage styles for decimals