← All comics

A man in Hull

#091 2 images

Toby shipped a bar on the basket telling customers how much more to spend for free delivery. It asked for £4,800, and a man in Hull paid it to save £3.99.

The mistake

The free-delivery threshold is stored in pence (5000) while the basket subtotal is read in pounds, and the shortfall is rendered straight into a currency string with a pound sign. Subtracting the £2.00 basket from 5000 gives 4800, which the bar prints as "£4,800 more" instead of the correct £48. Because the unit mismatch is in the shared formatting path, every basket in the shop shows a figure inflated by a factor of a hundred.

Share