Hi Ankit,
That's normal behavior for parseFloat(string), if you want it fixed to 2 decimals then do it as
parseFloat(total).toFixed(2);
Cheers,
Arshid
Hi Ankit,
That's normal behavior for parseFloat(string), if you want it fixed to 2 decimals then do it as
parseFloat(total).toFixed(2);
Cheers,
Arshid