On Tue, 5 Jun 2001, William Jaynes wrote:

> Remember... separation of view from model. The act of displaying an
> amount in a particular currency format is separate from determining what
> that amount is. So the code used to implement the display of the amount
> should not be mixed up with the code used to determine the amount.
> 

When I was building multi-currency apps in Europe, the rule was you needed
to keep the amount, the currency, and the date -- conversion rates between
currencies are not static.  Then, you need some mechanism to perform
conversions for you that is date sensitive. The Euro made life simpler
(because it fixed the conversion rates within the EC), but the problem did
not completely go away.

Craig

Reply via email to