Bug? SQ-LITE Decimals ... SOLVED

alienhunter

Active Member
Licensed User
Longtime User
Hi
when i upload to a sqllite db the decimals are lost some how ... i do not get it ..
I tried all kinds of sq-lite of Types for the column but it is always off ..
I am using
B4X:
NumberFormat2(dist,1,4,4,False)
but some how it is always off

points jpg are correct in "error" column
dbpoints.jpg is off in column 4
any clue ?

thanks AH
 

Attachments

  • points.jpg
    points.jpg
    178 KB · Views: 310
  • dbpoints.jpg
    dbpoints.jpg
    86.2 KB · Views: 271

alienhunter

Active Member
Licensed User
Longtime User
Thank you Klaus, it works now
see point/line25
i did not get the value as double and updated the sqllite as string :eek:

B4X:
Do While cur3m.NextRow
czm=cur3m.GetDouble("col3")
listzm.Add(czm)
Loop

Vielen dank gruss Alfred
 

Attachments

  • apppoints.jpg
    apppoints.jpg
    105.8 KB · Views: 247
  • db2points.jpg
    db2points.jpg
    17.2 KB · Views: 241
Top