When I am adding two textbox values that are 1.001 and 0.001 and then I do a parseFloat I get 1.0019999999. I wan
parseFloat
The javascript methods Number.toFixed() and Number.toPrecision() can help here, but they return a String. A possible solution is as follows:
Number.toFixed()
Number.toPrecision()
var x = parseFloat(parseFloat("1.0019999999").toPrecision(3));