Hi yes I would like to add 0.2 dollars to my 0.1$ account balance
An early rule you learn in computer science is:
โNever store currency as floatsโ
Nearly every popular language has special, built-in types for money. But why?
The *majority* of money-like numbers have no float representation, accumulating to massive errors over time: