Adding Double to Currency - wrong result
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
Something is wrong between conversion Double <=> Currency for ARM Android platform:
var
x: Double;
y: Currency;
begin
x := 0.1;
y := 0.1;
WriteLn(CurrToStr(x + y)); // will print 1000.1 instead of 0.2
Mantis conversion info:
- Mantis ID: 28748
- OS: Android
- Platform: ARM
- Version: 3.1.1
- Fixed in version: 3.0.2
- Fixed in revision: 32054 (#9431648b)