Round Off the number to two decimal places in jQuery

Round Off the number to two decimal places in JQuery.
  1. var num=2.48776582879546876542576876875325438965235;  
  2. 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/