Why Floats and Decimals as Money Make Illegal States Representable
Great post on how to not mess up your ledger!
Even though it's mentioned implicitly, part of this has been a problem before computers. It's an intrinsic arithmetic problem.
You can see how you need to allocate in "arbitrary fashion" when paying installments for a loan.
Regardless, Banker's rounding is a fun topic on itself.
https://en.wikipedia.org/wiki/Rounding#Round_half_to_even
Keep these posts coming!
Great post on how to not mess up your ledger!
Even though it's mentioned implicitly, part of this has been a problem before computers. It's an intrinsic arithmetic problem.
You can see how you need to allocate in "arbitrary fashion" when paying installments for a loan.
Regardless, Banker's rounding is a fun topic on itself.
https://en.wikipedia.org/wiki/Rounding#Round_half_to_even
Keep these posts coming!