arm wince floattostr and format float point bug
Original Reporter info from Mantis: liusai
-
Reporter name:
Original Reporter info from Mantis: liusai
- Reporter name:
Description:
var
i: double;
j: currency;
begin
i := 9109.453823;
j := 9109.453823;
label1.caption:=floattostr(i); //WINCE virtual machine correct, IC hardware error 9119.5549230
label2.caption:=floattostr(j); //WINCE VM and IC correct 9109.453823;
j = i;
label2.caption := floattostr(j); //WINCE VM and IC correct 9109.453823
end;
format('%.2f',[i]) //WINCE VM and IC error
format('%.2f', [j]) //WINCE VM and IC correct
Mantis conversion info:
- Mantis ID: 22679
- OS: wince
- OS Build: 6
- Platform: wince6
- Version: 2.6.1