atomic-format-number

This is for:

Developer
In this article

The atomic-format-number component is used for number formatting. The numerical format of compatible parents will be set according to the properties of this component.

Properties

Property Attribute Description Type Default

maximumFractionDigits

maximum-fraction-digits

The maximum number of fraction digits to use.

number | undefined

maximumSignificantDigits

maximum-significant-digits

The maximum number of significant digits to use.

number | undefined

minimumFractionDigits

minimum-fraction-digits

The minimum number of fraction digits to use.

number | undefined

minimumIntegerDigits

minimum-integer-digits

The minimum number of integer digits to use.

number | undefined

minimumSignificantDigits

minimum-significant-digits

The minimum number of significant digits to use.

number | undefined