/

Number KIT

Description and examples API
-
Name and descriptionType Value
[decimalSeparator]
Symbol for separating fraction.

Default: point.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

Default:['.', 'ю', 'б'] .

string[]
['.', ',', 'б', 'ю']
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[minimumFractionDigits]

The minimum number of fraction digits to use.

A value with a smaller number of fraction digits than this number will be right-padded with zeros (to the specified length).

Default:0 .

number
[maximumFractionDigits]

The maximum number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[min]
The lowest permitted value.

Default:Number.MIN_SAFE_INTEGER .

number
[max]
The greatest permitted value.

Default:Number.MAX_SAFE_INTEGER .

number
[prefix]
A prefix symbol, like currency.

Default: empty string (no prefix).

string
[postfix]
A postfix symbol, like currency.

Default: empty string (no postfix).

string
[minusSign]
A minus symbol.

Default:\u2212

string
[precision] Deprecated
Use [maximumFractionDigits] instead!

A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number​
[decimalZeroPadding] Deprecated
Use [minimumFractionDigits] instead!

If number of digits after decimalSeparator is always equal to the precision .

Default:false (number of digits can be less than precision) .

boolean​