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).
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).