I have a method of a class such as:

function TMyObject.Test(ACurrency: Currency)
begin
  // do some stuff
end;

Now, I'll call this method like:

MyObject.Test(0.23);

The problem is that inside the Test method, the current type is converted to an integer like 2300.

Anyone see anything like this?

I changed it to use Double type and it works fine.

Windows, Lazarus 0.9.24, FPC 2.2.0

Thanks!

--
Warm Regards,

Lee

"If I don't see you around here, I'll see you around, hear?"

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

Reply via email to