Hi guys,
I have this code
The correct return value from that sub should be 1,949,371,083, but it return 1,949,370,000.
Any hints how to fix this problem?
I have this code
B4X:
Sub Test as String
Private Val As Object
Val = SqlMem.ExecQuerySingleResult("SELECT SUM(VAL) from MemTable")
If Val <> Null Then
LogColor(NumberFormat2(1949371083,0,0,0,True),Colors.Green)
LogColor(NumberFormat2(Val,0,0,0,True),Colors.Magenta)
Return NumberFormat2(Val,0,0,0,True)
End If
Return "0"
End Sub
The correct return value from that sub should be 1,949,371,083, but it return 1,949,370,000.
Any hints how to fix this problem?