<SCRIPT LANGUAGE="JavaScript">
<!--Number.prototype.toFixed=function(len) 

  
 if(isNaN(len)||len==null) 
 { 
  len = 0; 
 } 
 else 
 { 
  if(len<0) 
  { 
   len = 0; 
  } 
 } 
    return Math.round(this * Math.pow(10,len)) / Math.pow(10,len); 
}var a  =parseFloat(7-5.6);alert(a.toFixed(10));
//-->
</SCRIPT>