Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'm honestly shocked as to how many devs I've seen who don't know about this.
-
nitnip18143yWhat do you mean? Are you telling me people in charge of loans are NOT drooling at the prospect of making even more money through the shady means that is float approximation?
Then again, it's so minimal even they wouldn't bother. -
hjk10157313yWould like to comment on an exception.
It's fine as long as you don't do any calculations just store, retrieve and pass along. -
hjk10157313y@LotsOfCaffeine used to feel the same now I'm not anymore. Seen to many devs that worked only with dynamic typed scripting languages. No foundation on memory usage at all let alone anything about two's compliment our floating point arithmetic.
This is why you don't use floats when dealing with money.
joke/meme