[fpc-devel] FormatFloat bug

Graeme Geldenhuys graemeg.lists at gmail.com
Wed May 30 12:42:50 CEST 2007


On 5/30/07, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> var
>    c: currency;
> begin
>    c:=0.005;
>    writeln(c:0:2);
> end.
>
> writes 0.01. So it's probably a bug in one of the umpteen sysutils
> float formatting "helpers" (and if someone fixes it, please take into


Yeah, that outputs the correct value here as well.  Confirmed a bug then!



-- 
Graeme Geldenhuys
General error, hit any user to continue.



More information about the fpc-devel mailing list