this post was submitted on 28 Jun 2026
185 points (100.0% liked)
Programmer Humor
32005 readers
1363 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Eh, it’s not a problem if prices are being converted to floating point at some point before being displayed.
What you don’t want to do is store the definitive price as a floating point and perform calculations with it. I don’t see any reason to assume that’s happening here.