Ben Stanley wrote:
>
> Hendrik Boom wrote:
>
> > I've always been doubtful about the use of floating point by gnucash.
>
> The problem with floating point types is that they only provide an approximation to
> what you want.
>
[ snipped ]
>
> 1/2 = 0.5 > 0.1, so we have 0 * 2^-1.
> 1/4 = 0.25
On Fri, 16 Jun 2000 03:33:34 EST, the world broke into rejoicing as
Richard Wackerbarth <[EMAIL PROTECTED]> said:
> On Thu, 15 Jun 2000, Hendrik Boom wrote:
> > > Each currency has its own "primitive" amount and all transactions are
> > > conducted in terms of that unit. Prices are often expresse
Richard Wackerbarth writes:
> On Thu, 15 Jun 2000, Hendrik Boom wrote:
> > > Each currency has its own "primitive" amount and all transactions are
> > > conducted in terms of that unit. Prices are often expressed to a higher
> > > precision or as a rational fraction of that unit.
> >
> > This sugg
On Thu, 15 Jun 2000, Hendrik Boom wrote:
> > Each currency has its own "primitive" amount and all transactions are
> > conducted in terms of that unit. Prices are often expressed to a higher
> > precision or as a rational fraction of that unit.
>
> This suggests that we should be storing integers
Hendrik Boom wrote:
> I've always been doubtful about the use of floating point by gnucash.
The problem with floating point types is that they only provide an approximation to
what you want.
To go into painful detail, here's what I understand about floating point types.
The first bit past the
> Prices are handled differently from amounts.
>
> The price is multiplied by the quantity and that result is adjusted to the
> "integral" amount of exchange.
> At one time the US used "mils" ($0.001). However, clerks worked for $1 per day
> or less. With inflation, the smallest exchange is now t
On Wed, 14 Jun 2000, Shimpei Yamashita wrote:
> BTW, the American dollar goes down to more than two decimal places if
> you're looking at stock quotes, because the unit there is sixteenth of a
> dollar.
Or 1/32 or 1/256 or ...
Prices are handled differently from amounts.
The price is multiplie