prePEP: Money data type
Paul Rubin
http
Sat Oct 18 13:59:00 EDT 2003
"John Roth" <newsgroups at jhrothjr.com> writes:
> Like I said, you do it your way. That is, write the necessary COBOL
> code to round it the way you want. Ths is not as easy as it sounds
> since COBOL is completely lacking in the basic abstraction facilities
> such as subroutines with parameters within a single Procedure Division.
That's bizarre, is it really done like that in the actual real world?!
I thought Cobol had built-in arithmetic, like "add gin to vermouth
giving martini". Does it have "operator overloading", so that the add
statement acts differently depending on how you've implemented
rounding?
More information about the Python-list
mailing list