She traced the anomalies to a single line of code in the API: a rounding routine that defaulted to bankers’ rounding only when the invoice amount exceeded $2,147,483,647 —the maximum value of a 32‑bit signed integer. The rest of the time, it used simple truncation. In practice, most invoices never crossed that threshold, so the discrepancy was invisible—except when a clever accountant deliberately padded a line item to just under the limit, then split the remainder across a second invoice.