I am trying to round a number to 2 decimal places . i am showing with an example
var k =10.3;
alert(parseFloat(k),2); // outputs 10.3
alert(Math.round(k).toFixed(2)); // outputs 10.00
the result i need is 10.30 what is the solution for this .
please help
thanks