[fpc-devel] FormatFloat

darekm at emadar.com darekm at emadar.com
Wed Dec 30 17:32:18 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 try this now with Delphi6 and all have only one space at front

>
> I tested some years ago while implementing sqlite dataset
>

Darek




More information about the fpc-devel mailing list