i = 1000
i.toExponential();
// 1e+3
Last active
August 29, 2015 14:17
-
-
Save vdw/eed289bb13de59160324 to your computer and use it in GitHub Desktop.
Convert integer to scientific notation (javascript)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment