Has been a while since I worked with JavaScript frameworks, but what you are working on is rather simple. You can do it yourself, by checking if the logical differences exist in your string, the way you are presenting them here. For example, you can use the indexOf()
JavaScript function to check if an @ sign exists in your string. If you have both a dot and a comma, means that you get a floating point number. Lastly, the difference you want between 28.98 and 34.524 cannot be presented in any way, since the .
is always a floating point mark for numbers, meaning that 34.524 is a float for both human and computer.
Hope it helps - probably not with the library you were asking for though!
indexOf()
function in w3schools.com