Skip to content

Commit 12ef7fc

Browse files
authored
Update article.md
1 parent f44cba8 commit 12ef7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/02-number/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ To write big numbers:
417417
For different numeral systems:
418418

419419
- Can write numbers directly in hex (`0x`), octal (`0o`) and binary (`0b`) systems
420-
- `parseInt(str, base)` parses an integer from any numeral system with base: `2 ≤ base ≤ 36`.
420+
- `parseInt(str, base)` parses the string `str` into an integer in numeral system with given `base`, `2 ≤ base ≤ 36`.
421421
- `num.toString(base)` converts a number to a string in the numeral system with the given `base`.
422422

423423
For converting values like `12pt` and `100px` to a number:

0 commit comments

Comments
 (0)