Update article.md

This commit is contained in:
Ilya Kantor 2019-09-28 19:41:22 +03:00 committed by GitHub
parent f44cba85ec
commit 12ef7fc704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: