Update article.md
This commit is contained in:
parent
f44cba85ec
commit
12ef7fc704
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ To write big numbers:
|
|||
For different numeral systems:
|
||||
|
||||
- Can write numbers directly in hex (`0x`), octal (`0o`) and binary (`0b`) systems
|
||||
- `parseInt(str, base)` parses an integer from any numeral system with base: `2 ≤ base ≤ 36`.
|
||||
- `parseInt(str, base)` parses the string `str` into an integer in numeral system with given `base`, `2 ≤ base ≤ 36`.
|
||||
- `num.toString(base)` converts a number to a string in the numeral system with the given `base`.
|
||||
|
||||
For converting values like `12pt` and `100px` to a number:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue