Hi,
I made a simple sum in a loop:
Results:
0.0 0
194.45 194.45
-297.56 -103.11000000000001
103.11 -1.4210854715202004E-14
0.0 -1.4210854715202004E-14
After sum the negative -297.56 it gives a crazy number with lots of decimals.
Help Please,
I made a simple sum in a loop:
B4X:
Total = Total + biblio.IsNull(Cursor1.GetDouble("VALUE"),0)
Log(Cursor1.GetDouble("ACERTO") & " " & TotalAcerto)
Results:
0.0 0
194.45 194.45
-297.56 -103.11000000000001
103.11 -1.4210854715202004E-14
0.0 -1.4210854715202004E-14
After sum the negative -297.56 it gives a crazy number with lots of decimals.
Help Please,