every time i use the Math.round(4.45678765e-6 * 10000)/10000 it gives me a 0 value but if i remove the e-6 it gives the correct answer 4.4567 what shoul i do? here\'s my code. t
4.45678765e-6 is 0.00000445678765, that number with only five digits after decimal point is 0.00000 so JavaScript is giving you the correct result.
4.45678765e-6
0.00000445678765
0.00000