Hi!

I think, I discover some sort of bug... can anyone confirm that?

I have form, on form is button and on click go this code:

var sumasum:currency;
begin
  sumasum:=160.7972;
  showmessage(currtostrf(sumasum,ffnumber,2));
end;

result is 160.7:
correct resoult is 160.80

this is on fpc 2.2.1, latest from svn and latest lazarus from svn, on linux



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to