From: "Graeme Geldenhuys" <[EMAIL PROTECTED]>
On 5/30/07, Jonas Maebe <[EMAIL PROTECTED]> 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!
Currency to string conversion is handled in other way that float
types. In original example extended type was used....
Yury,
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel