RFC: Constraints on Cash accounts

Phillip J Shelton shelton11@dingoblue.net.au
Wed, 05 Dec 2001 07:02:25 +1000


Not if I can not have the denomimator for the same currency different in
different accounts.  Electronic transfers are still done in AUD$0.01.  Thus
if I pay a fuel bill of $23.47 it will cost $23.47 if I pay with credit and
$23.45 if I pay cash.

Derek Atkins wrote:

> What happens if you just change the (AUD$) currency so that the
> denominator is e.g. 20 instead of 100?  Does that do the right thing?
>
> -derek
>
> Conrad Canterford <conrad@mail.watersprite.com.au> writes:
>
> > All,
> >
> > In Australia, physical cash (actual notes and coins) are limited to
> > multiples of $0.05 by virtue of the fact that we have no 1c or 2c coins
> > anymore. I'm sure a similar situation happens in other places.
> >
> > This proposal is to implement a warning on certain accounts when those
> > accounts are not an exact multiple of the constraint. There are a couple
> > of ways this can be implemented:
> >
> > 1. As an option to  particular currencies, but only effective on
> > accounts of type "Cash". This would mean that, if the currency has a
> > constraint associated with it, any "Cash" account in that currency will
> > display a warning if an amount is not a multiple of the constraint.
> > 2.  On a per-account basis, with a multiple as an account option. This
> > would enable it to be applied to any accounts regardless of currency as
> > a user-setable option.
> >
> > Option 2 is more general, but also a little fiddlier to implement.
> > Option 1 satisfies all my requirements, but if Option 2 is preferred
> > than that would be the better solution.
> >
> > What do people think? Would either 1 or 2 be useful? What other
> > currencies might this apply to?
> >
> > Your comments please (either to the list or me directly).