in reply to NV/IV Bug ?

Why are you thinking that it's surprising? Floats can't represent anything that isn't a fraction of two (1/2, 1/4, 1/8, and so on) so since you've chosen a number that's unrepresentable, you're going to get bad results.

Just one more good reason to not use IEEE floating point numbers to represent money...

Replies are listed 'Best First'.
Re: Re: NV/IV Bug ?
by MZSanford (Curate) on Feb 27, 2003 at 18:48 UTC
    good point. Hence the *100 being used on the string which was read from a file.
    from the frivolous to the serious