I have the following code
testFloat ALWAYS solves as true. This is causing haywire problems in my code. testFloat and 1.26 should be equal, right?
I am using 2.52
B4X:
Dim testBool As Boolean
Dim testFloat As Float
testFloat = 1.26
If testFloat < 1.26 Then
testBool = True
Else
testBool = False
End If
I am using 2.52
Last edited: