From ab0f45ec60a26e8f85551ce5a876fb0df92b7ec0 Mon Sep 17 00:00:00 2001 From: pcell Date: Fri, 13 Feb 2026 11:27:13 +0100 Subject: [PATCH] in base ten, you can only write numbers from 0 to 9 not to 99. --- src/integers/limits.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integers/limits.md b/src/integers/limits.md index 413130a..7fb7537 100644 --- a/src/integers/limits.md +++ b/src/integers/limits.md @@ -5,9 +5,9 @@ is "fixed width." Say you had a piece of paper that was only big enough to write two numbers on. -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. +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. -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 +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 the type `int` can represent numbers from -231 to 231 - 1. If you try to directly write out a number that is outside of that range, Java will not let you.