<script language="javascript">
function change(num)
{
return num.substr(0,num.indexOf(".")+3)
}
document.write(parseFloat(change("13223.0112445")))
</script>
function change(num)
{
return num.substr(0,num.indexOf(".")+3)
}
document.write(parseFloat(change("13223.0112445")))
</script>
<script language="JavaScript">
function addfile(num)
{
str= Math.round(num*100)/100;
return str;
}
alert(addfile(2.23423423423423));
</script>
<script language="JavaScript">
function addfile(num,how)
{
str= Math.round(num*Math.pow(10,how))/Math.pow(10,how);
return str;
}
alert(addfile(2.23423423423423,2));</script>