Floats Don't Work for Storing Cents

10 mattmarcus 2 8/8/2025, 4:39:27 PM moderntreasury.com ↗

Comments (2)

rhelz · 3h ago
My father showed me the assembly language for a minicomputer, and I can remember being puzzled why the computer--a binary machine--had instructions for decimal arithmetic.

He smiled and had me add $0.02 + $0.03. When I didn't get $0.05, I was enlightened :-) It was like a koan.

pestatije · 3h ago
because those are hundredths of a dollar, not cents