PercentFormatterOptions / PartialPercentFormatterOptions

Description

A PercentFormatterOptions is an interface that extends the DecimalFormatterOptions interface and which exposes properties to configure the behavior of a PercentFormatter.

Properties

Property

Type

Default

Description

precision?

number

0

The number of decimal digits to display. Setting it to undefined results in no specific precision.

Remarks

A partial type/interface is an object in which properties are optional.