- Computers use binary to represent numbers, where each digit is either a 1 or 0. Real numbers are approximated using floating point representation with sign, mantissa, and exponent fields.
- Integers can be stored by reserving bits for the magnitude and using the first bit to indicate sign (sign-magnitude representation) or by using two's complement representation where the most significant bit indicates sign.
- When storing numbers in memory, multiple bytes are typically used to represent integers or floating point values to support a wider range of numbers.