Skip to content

Commit ab0f45e

Browse files
committed
in base ten, you can only write numbers from 0 to 9 not to 99.
1 parent 64afc69 commit ab0f45e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integers/limits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ is "fixed width."
55

66
Say you had a piece of paper that was only big enough to write two numbers on.
77

8-
The only numbers you could write in a [base ten system](https://www.khanacademy.org/math/algebra-home/alg-intro-to-algebra/algebra-alternate-number-bases/v/number-systems-introduction) would be those from 0 to 99. You could not write 100 or anything larger.
8+
The only numbers you could write in a [base ten system](https://www.khanacademy.org/math/algebra-home/alg-intro-to-algebra/algebra-alternate-number-bases/v/number-systems-introduction) would be those from 0 to 9. You could not write 10 or anything larger.
99

10-
A Java `int` is similar except instead of only being able to write 0 to 99 on a piece of paper, a variable that has
10+
A Java `int` is similar except instead of only being able to write 0 to 9 on a piece of paper, a variable that has
1111
the type `int` can represent numbers from -2<sup>31</sup> to 2<sup>31</sup> - 1.
1212

1313
If you try to directly write out a number that is outside of that range, Java will not let you.

0 commit comments

Comments
 (0)