On Wed, 30 May 2007, Graeme Geldenhuys wrote:

> On 5/30/07, Yury Sidorov <[EMAIL PROTECTED]> wrote:
> > > Yeah, that outputs the correct value here as well.  Confirmed a bug
> > > then!
> >
> > Currency to string conversion is handled in other way that float
> > types. In original example extended type was used....
> >
> 
> Yury, you are right!  I never spotted that, thanks.
> 
> Running the example program below shows the difference in output. The
> currency type rounds to 0.01 and the extended type rounds to 0.00.
> Either way, I still believe this is a bug in FormatFloat.

Please put it in the bugtracker, so it won't be forgotten.


Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to