You should just check if it is an integer, in which when divided by 1 will yield 0. There are also built-in functions that can do such checking.
1
0
Hi guys, I'm looking for some tips regarding the 1.23e-7 input. I tried to convert the exponential number with .toFixed() without success and I can't find a way to check if the number is exponential or not ... Thanks for your time.
Loading collection data...
You should just check if it is an integer, in which when divided by
1
will yield0
. There are also built-in functions that can do such checking.Hi guys, I'm looking for some tips regarding the 1.23e-7 input.
I tried to convert the exponential number with .toFixed() without success and I can't find a way to check if the number is exponential or not ...
Thanks for your time.