Skip to content

Commit 69bbd36

Browse files
committed
1.05.02 (number)
1 parent 54e7b1f commit 69bbd36

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Numbers
1+
# Angka
22

3-
In modern JavaScript, there are two types of numbers:
3+
Dalam JavaScript modern, ada dua tipe angka:
44

5-
1. Regular numbers in JavaScript are stored in 64-bit format [IEEE-754](https://en.wikipedia.org/wiki/IEEE_754-2008_revision), also known as "double precision floating point numbers". These are numbers that we're using most of the time, and we'll talk about them in this chapter.
5+
1. Angka regular di JavaScript yang disimpan dalam format 64-bit [IEEE-754](https://en.wikipedia.org/wiki/IEEE_754-2008_revision), juga dikenal sebagai "angka double precision floating point". Inilah angka yang kita paling sering kita pakai, dan kita akan bahas tentang mereka di bab ini.
66

7-
2. BigInt numbers, to represent integers of arbitrary length. They are sometimes needed, because a regular number can't exceed <code>2<sup>53</sup></code> or be less than <code>-2<sup>53</sup></code>. As bigints are used in few special areas, we devote them a special chapter <info:bigint>.
7+
2. Angka BigInt, untuk mewakili integer dengan panjang sembarang. Mereka kadang dibutuhkan, karena angka regular tak bisa lebih dari <code>2<sup>53</sup></code> atau kurang dari <code>-2<sup>53</sup></code>. Karena bigint dipakai di sedikit area spesial, kita khususkan mereka bab spesial <info:bigint>.
88

9-
So here we'll talk about regular numbers. Let's expand our knowledge of them.
9+
Jadi di sini kita akan bahas angka regular. Ayo perluas pengetahuan kita tentang mereka.
1010

11-
## More ways to write a number
11+
## Cara lain menulis angka
1212

13-
Imagine we need to write 1 billion. The obvious way is:
13+
Bayangkan kita harus menulis 1 milyar. Cara jelasnya begini:
1414

1515
```js
1616
let billion = 1000000000;

0 commit comments

Comments
 (0)