News for hackers. Stuff that matters.
Re:0.30000000000000004 by TeMPOraL on Monday December 02, 2019 @06:03PM (#21688031)
There's very little point in storing money in floats if you're not going to do arithmetic in floats; about the only use case I can think of is JavaScript and JSON APIs.
Re:0.30000000000000004 by pushrax on Tuesday December 03, 2019 @02:31AM (#21690595)
Aside from the cases you mentioned, there are other dynamic languages in which numbers are by default floating point. e.g. Lua. I agree though.