Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active April 16, 2024 06:26
Show Gist options
  • Select an option

  • Save wilmoore/cd81af38adf76adf8a0a6e1fd5da9dac to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/cd81af38adf76adf8a0a6e1fd5da9dac to your computer and use it in GitHub Desktop.
Software Engineering :: Programming :: Languages :: JavaScript :: Numbers

Software Engineering :: Programming :: Languages :: JavaScript :: Numbers

⪼ Made with 💜 by Polyglot.

related

Number Systems

digits  name
2     = binary (0-1)
8     = octal (0-7)
10    = decimal (0-9)
16    = hexadecimal (0-F, where… 0-9,A=10,B=11,C=12,D=13,E=14,F=15)

image

parseInt()

The parseInt() function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment