JavaScript converts a large INT to scientific notation when the number becomes large. How can I prevent this from happening?
For small number, and you know how many decimals you want, you can use toFixed and then use a regexp to remove the trailing zeros.
Number(1e-7).toFixed(8).replace(/\.?0+$/,"") //0.000