in the JavaScript I am trying to implement for my aspx page, parsefloat("-2.00') is returning a value 0-2.00
Obviously there is something I am missing out, because parsefloat can handle negative numbers, however, here it is showing me this value in debugging and output is coming out to be 0.
Please help me look into what I may be doing wrong.
The code I am using in the javascript
var A=0;
A = document.getElementById('A').value;
A += (parseFloat(A).toFixed(2));
document.getElementById("C").value = roundToTwo(parseFloat(A) + parseFloat(B));
Thanks