Jason Rennie wrote:

> [EMAIL PROTECTED] said:
> > Now, having stated that, it would be silly to allow entry of
> > fractions.  Even the stock & commodity markets have dropped fractions
> > and gone to decimals.
>
> Would it be reasonable to have the user enter a decimal and round that
> number to the nearest fractional equivalent (i.e. 0.130 -> 0.125) if the
> "currency" is one that is traded in non-decimal fractions?

[EMAIL PROTECTED] said:
> What do you round to if I trade in 1/9 AUD ? This number is recurring
> in both BCD and pure binary.
> 
> Phill

User types in an approximation (0.111).  Internal rational representation 
rounds to the nearest representable number (1/9).  Display is rounded to 
3 digits (0.111).

Jason D Rennie          www.ai.mit.edu/~jrennie/
MIT:  (617) 253-5339          [EMAIL PROTECTED]
MITRE: (781) 271-7249          [EMAIL PROTECTED]



_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to