News for hackers. Stuff that matters.
Re:0.30000000000000004 by richdougherty on Sunday April 02, 2017 @04:58PM (#14019009)
My personal view is that the programmer needs to know the difference because there are important tradeoffs to consider.

I do however think it should be easier to use decimal arithmetic. I've written financial apps in both Java and JavaScript and I wish both languages had native syntax and support for decimal numbers and arithmetic. JavaScript has nothing built-in and Java's BigDecimal class is clunky to use.

There are no comments on this comment yet.