Closed 0x33dm closed 2 months ago
1e+22
is the value in base 10, in exponential notation. The documentation at your link states:
If a base is not specified... then exponential notation is returned.
1e+22
means 1 x 10**22
, which is the same as 10000000000000000000000
.
1e+22
is the value in base 10, in exponential notation. The documentation at your link states:If a base is not specified... then exponential notation is returned.
1e+22
means1 x 10**22
, which is the same as10000000000000000000000
.
I missed that. Thank you
I see in the documentation that .toString() is supposed to be base 10, but when I test it on my application, the default isn't base 10.
Tested on google chrome with version 9.1.2