Hi, I love this library and it's been really helpful to me on a recent project. One suggestion: could you add a routine to determine if a string will be parsed correctly by "unformat". Something like "isValidNumber( string )". Alternatively, unformat could return null or undefined for invalid input instead of 0. I need to light up invalid text boxes in my application, so I need to be able to tell the difference between invalid and 0.
Hi, I love this library and it's been really helpful to me on a recent project. One suggestion: could you add a routine to determine if a string will be parsed correctly by "unformat". Something like "isValidNumber( string )". Alternatively, unformat could return null or undefined for invalid input instead of 0. I need to light up invalid text boxes in my application, so I need to be able to tell the difference between invalid and 0.
Thanks again for the really excellent library!