Skip to content

Commit 1b9934e

Browse files
committed
minor fixing.
1 parent 7f54cdf commit 1b9934e

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -412,17 +412,7 @@ alert( Math.pow(2, 10) ); // دو به توان ده = 1024
412412
413413
- `num.toString(base)` یک عدد را به یک رشته‌ی حرفی در سیستم عددی با پایه داده شده تبدیل می‌کند.
414414
415-
<<<<<<< HEAD
416-
<<<<<<< HEAD
417415
برای تبدیل مقادیری مثل `12pt` و `100px` به یک عدد:
418-
=======
419-
- Can write numbers directly in hex (`0x`), octal (`0o`) and binary (`0b`) systems.
420-
- `parseInt(str, base)` parses the string `str` into an integer in numeral system with given `base`, `2 ≤ base ≤ 36`.
421-
- `num.toString(base)` converts a number to a string in the numeral system with the given `base`.
422-
>>>>>>> 62299ed853674c4fd1427cd310516d5535bce648
423-
=======
424-
برای تبدیل مقادیری مثل `12pt` و `100px` به یک عدد:
425-
>>>>>>> master
426416
427417
- `parseInt/parseFloat` را برای تبدیلات ساده استفاده کنید که یک عدد را از یک رشته‌ی حرفی می‌خواند و سپس مقداری که قبل از بروز خطا خوانده‌ست را برمی‌گرداند.
428418

0 commit comments

Comments
 (0)