I shipped a bug into a paid API and it took me a while to see it, because nothing

errored. Every response was a clean HTTP 200 with a confident number in it.

The number was wrong by 25x.

Here is the finding, the arithmetic, and how to check your own code in about

thirty seconds.