Lesson 6. Real numbers
After reading lesson 6, you’ll be able to
- Use two types of real numbers
- Understand the memory-versus-precision trade-off
- Work around rounding errors in your piggy bank
Imagine a carnival game with three cups. The nearest cup is worth $0.10 to $1.00, the next is worth $1 to $10, and the farthest cup is worth ...