JavaScript converts a large INT to scientific notation when the number becomes large. How can I prevent this from happening?
You can use number.toString(10.1):
number.toString(10.1)
console.log(Number.MAX_VALUE.toString(10.1));
Note: This currently works in Chrome, but not in Firefox. The specification says the radix has to be an integer, so this results in unreliable behavior.