Skip to content

Glossary: Testing Web Apps

Cents (money as whole numbers)

Also written: whole cents, priceCents

The shop keeps prices as whole cents (1600, not 16.00) because decimal fractions are slightly inaccurate in computers. Rounding then happens in one place you can test.

Where the book teaches it

Related terms

toBeCloseTo