/ maskitoNumberOptionsGenerator to create a mask for entering a formatted number. Use maskitoParseNumber to get number-type value.
Use maskitoStringifyNumber to get the masked string from number-type value.
maximumFractionDigits parameter to configure the number of digits after decimal separator. decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers. postfix parameter to set non-removable text after the number. maskitoCaretGuard to clamp caret inside allowable range. max parameter. Use minimumFractionDigits to always show trailing zeroes.
Non removable dollar sign is achieved by using prefix parameter.
Use minusSign parameter to configure the character which indicates that a number is negative.
In this example hyphen is used as minusSign
negativePattern property to configure order of prefix and minus sign (by default, prefix is always placed before minus).