Hi all
I have a table in my database with fields datatype FLOAT.
I'm reading values from these fields like this
MyTxt is B4XView
If the value in this field is lower than 90 MyTxt.text shows whatever we have in this field. For example 45.3 looks like 45.3 but if it's 96.6 it looks like 96.599999999
Why it's like that?
I have a table in my database with fields datatype FLOAT.
I'm reading values from these fields like this
B4X:
Dim rs as ResultSet
Mytxt.Text=rs.GetDouble("BP1")
MyTxt is B4XView
If the value in this field is lower than 90 MyTxt.text shows whatever we have in this field. For example 45.3 looks like 45.3 but if it's 96.6 it looks like 96.599999999
Why it's like that?