Type Alias: NumericMaskOptions
type NumericMaskOptions = {
max?: number;
min?: number;
padFractionalZeros?: boolean;
scale?: number;
signed?: boolean;
};
Properties
| Property |
Type |
Description |
max? |
number |
The maximum valid number, inclusive. |
min? |
number |
The minimum valid number, inclusive. |
padFractionalZeros? |
boolean |
Pads the number with trailing zeros after the radix. The number of zeros is controlled by the scale. |
scale? |
number |
The number of digits allowed after the radix. |
signed? |
boolean |
Allows the number to contain a positive or negative sign. |