Hacker News new | past | comments | ask | show | jobs | submit login

>> 1/3 you get .33

I have never seen any COBOL code but I'm surprised this works in a general sense even for currency related calculations due to the loss of accuracy.

In any case, it seems that it would be relatively easy to implement COBOL compatible numeric processing in any language in a library (and maybe one case where operator overloading is a feature instead of a bug).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: