Section 2.1. Introduction
Recipe 2.2. Checking Whether a String Contains a Valid Number
Recipe 2.3. Comparing Floating-Point Numbers
Recipe 2.4. Rounding Floating-Point Numbers
Recipe 2.5. Operating on a Series of Integers
Recipe 2.6. Generating Random Numbers Within a Range
Recipe 2.7. Generating Biased Random Numbers
Recipe 2.8. Taking Logarithms
Recipe 2.9. Calculating Exponents
Recipe 2.10. Formatting Numbers
Recipe 2.11. Printing Correct Plurals
Recipe 2.12. Calculating Trigonometric Functions
Recipe 2.13. Doing Trigonometry in Degrees, not Radians
Recipe 2.14. Handling Very Large or Very Small Numbers
Recipe 2.15. Converting Between Bases
Recipe 2.16. Calculating Using Numbers in Bases Other Than Decimal