Sorry, I'm not familiar with the Lazarus term for hovering your cursor over a variable at runtime and seeing its value.

Is anyone aware that under some circumstance that the Value shown in this tool tips for currency values are displayed correctly?

For instance, I have this code:

procedure TestSaleBasicFunctions.TestSaleCalculateTaxes;
var
  lValue: Currency;
begin
  FSale.Calculate;
  lValue := FSale.Total.Value;
  AssertTrue('Sale Taxes did not add up correctly.', lValue = 15.79);
end;


If I break inside this routine and the step over until the lValue is assigned, if I hover over the variable, the value shows 157900 when in fact the value is 15.70. The actual value of the variable is intact, just the display is wrong when debugging.

I can submit a bug report but I figured this was something known already.

--
Warm Regards,

Lee

_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to