Despite the name of the mask, the element's raw value remains of type string !
Use the helpers below to perform string ⇄ number conversions seamlessly.
maskitoParseNumber
By default, returns number type value
Also, supports bigint mode
Always pass the second argument to the utility if your number format parameters differ from the default ones to ensure correct parsing and avoid unexpected results!