logoalt Hacker News

edflsafoiewqtoday at 9:10 AM1 replyview on HN

You can't use BigDecimal either. There are libraries whose whole purpose is just to exactly reproduce COBOL arithmetic, eg. the IBM Decimal Arithmetic Library.


Replies

ptxtoday at 10:08 AM

Wow, their Java code example [0] makes COBOL look elegant and terse by comparison.

[0] https://community.ibm.com/community/user/blogs/gregory-cerne...

show 1 reply