“1.2 million”

currency*

“USD1,200,000.00”

decimalPattern

“1,200,000”

decimalPercentPattern*

“120,000,000%”

percentPattern

“120,000,000%”

scientificPattern

“1E6”

simpleCurrency*

“$1,200,000”

The starred NumberFormat constructors in the table offer optional, named parameters.
Those parameters can be specified as the value of the placeholder’s optionalParameters object.
For example, to specify the optional decimalDigits parameter for compactCurrency,
make the following changes to the lib/l10n/app_en.arg file:

Messages with dates