Posts by baichaowei

@baichaowei

Baichao Wei

Working on Waffo Pancake, a merchant of record for developers selling software a...
Joined November 2026
121 Points • 2 Badges • 0 Connections • 0 Followers • 3 Following

Posts by baichaowei

baichaowei • • in Articles • 1 min read
Most billing bugs I have debugged were not in the payment provider. They were in how the app stored and calculated amounts. Three patterns come up again and again. 1. Floats for amounts 0.1 + 0.2 === 0.3 // false A float cannot represent most dec...
chevron_left