0.30000000000000004

Inductor@feddit.de to Programmer Humor@programming.dev – 424 points –
55

You are viewing a single comment

Indeed, Lex

No, not Lex. Gus!

Awesome movie, regardless!

I just recalled, in that project I did have to divide money, which would leave fractional cents

It was a budgeting program, I could put rogue cents where I liked. I think my solution made accounts due $12.553333333... (internally 1255.3333...) each pay period get 12.54, so after n/3 pay periods they'd be 2n cents over. I could deal with that imprecision.