[fpc-devel] FormatFloat

Luiz Americo Pereira Camara luizmed at oi.com.br
Wed Dec 30 16:04:43 CET 2009


darekm at emadar.com escreveu:
> I try to resolve http://bugs.freepascal.org/view.php?id=15308
>   

Is not that fixed by svn rev 14490?

> problem is with str
>   str(1.0:10,s); writeln(s);
>   str(1.05:10,s);writeln(s);
>   str(1.05e2,s);writeln(s);
> give results (:
>
>  1.000E+00
>  1.0E+0000
>   1.050000000000000E+0002
> ^^// moving
>
> where I can find implementation of str
>   

AFAIK this is Delphi compatible.

I tested some years ago while implementing sqlite dataset

Luiz





More information about the fpc-devel mailing list