Round Off the number to two decimal places in JQuery.
- var num=2.48776582879546876542576876875325438965235;
- alert( num.toFixed(2));
Here toFixed is the function which does the operation. You can set as you want it.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/