var num = 20.025;
num.toFixed(2) - In mozila and chrome gives 20.02
num.toFixed(2) - In IE gives - 20.03 - which is correct.
How to get the same value as IE in other browsers. please suggest
var num = 20.025;
num.toFixed(2) - In mozila and chrome gives 20.02
num.toFixed(2) - In IE gives - 20.03 - which is correct.
How to get the same value as IE in other browsers. please suggest