Posted by William D McQuain on October 05, 2001 at 10:21:57:
In Reply to: Monetary Values posted by CT on October 04, 2001 at 20:21:56:
: I'm really have problems with the whole Monetary Value system we are recommened to use in this program. When are we going to learn how to round real numbers so we don't have to break money into two integers anymore?! It just seems like a much less complicated way of handling money. My programs are twice as long now.
Short answer: take CS 3414 and you'll then understand why this isn't an issue of "when will they teach us the easy way".
Storing the monetary values as ints is necessary if you are going to eliminate issues of numeric accuracy.
Post a Followup