Wrong result when a currency variable is multiplied by a constant
Original Reporter info from Mantis: CC
-
Reporter name: Leslie
Original Reporter info from Mantis: CC
- Reporter name: Leslie
Description:
var C: Currency;
begin
c:= 1000;
c:= c*1.05;
// at this point C=1000 instead of 1050
end;
Additional information:
It's been like this for months.
Mantis conversion info:
- Mantis ID: 33963
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 43620 (#86d8e79e), 43621 (#aadd9384)
- Monitored by: » CC (Leslie), » @martok (Martok), » @onpok (Ondrej Pokorny), » Cyrax (Cyrax), » @CuriousKit (J. Gareth Moreton)