/

Number KIT

Description and examples API
-
Name and descriptionType Value
[precision]
A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[decimalSeparator]
Symbol for separating fraction.

Default: dot.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

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

string[]
['.', ',', 'б', 'ю']
[decimalZeroPadding]
If number of digits after decimalSeparator is always equal to the precision .

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

boolean
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[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