I have some fields on my page and they have values, I get those values and somo, it happens that the value goes wrong, how do I get them from the DOM and ends up coming as a string, I convert to a number, so instead of posting everything the code here, comes out something like this:
var valor = parseInt("3.50");
console.log(valor + valor);
The value I expected was 7.00, but it returns me 6, meaning the sum seems to be wrong. Note: I'm still learning