Possible Duplicate:
limit the decimal place in javascript is not working for 4.45678765e-6
This doesn't give me the answer I would get on a scientific calendar.
var myNum = Math.floor (4.45678765 * 10000)/10000;
document.write (x);
Is it even possible to limit the decimal places if the value has an exponent?