<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 = parseInt("50")*parseFloat("8.2");alert(a.toFixed(10));
//-->
</SCRIPT>