[Lazarus] formatfloat negative zero (-0)
Andrea Mauri
andrea.mauri.75 at gmail.com
Wed Jul 9 14:21:54 CEST 2014
Il 09/07/2014 13:44, Lukasz Sokol ha scritto:
> As a matter of fact, I can... on Turbo Delphi 2006 (free edition)...
>
> and the behavior is as you said it should be.
>
> (i.e. FormatFloat eats the minus if the content of the edit is smaller than expected by the format string)
>
> With FormatFloat format string '0.###' :
>
> Input: -0.001 Output: -0.001
> Input: -0.0001 Output: 0.000
>
> So it_is_ not the same as Lazarus/FPC has;
>
> Guess it's time to call to the bugtracker then...
>
> -L.
Ok. Reported to the bugtracker, ID 0026465.
Thanks,
Andrea
More information about the Lazarus
mailing list