Last active
January 1, 2016 18:19
-
-
Save CarlRevell/8183172 to your computer and use it in GitHub Desktop.
Don't forget JavaScript will return strings converted to a given base from a number...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parseInt(64).toString(); // "64" | |
parseInt(64).toString(10); // "64" | |
parseInt(64).toString(2); // "1000000" | |
parseInt(64).toString(8); // "100" | |
parseInt(64).toString(16); // "40" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment