Please see below code,i getting wrong value.
eg;
var FirstValue=0.00;
var secondvalue=parseFloat("22.88",10).toFixed(2);
var thirdvalue=(FirstValue) + (secondvalue);
am getting value like”22.8822.88″
Please help me to solve.Its not convert to numeric .
toFixed convert you float value to string back. So when you adding two values you will get not number addition but string concatenation:
Remove to fixed after conversion. Than add two values and than do to fixed: