Money in Java

Content:

Original link: The moment a Java app starts handling money, double stops being "good enough" / LinkedIn.

Not new. But junior developers still make the mistake.

It is not really Java specific. The problem exist in all programming languages. And most of them have a solution: Java has BigDecimal, C# has decimal, Python has Decimal, Cobol has COMP-3 etc..

Comments: