using DBUtils.DB_REAL i found that the fractionpart is very limited.
for test i putted in 123.45678901, got back 123.457, checked it with SQlite viewer, got the same when i read it back from the database
Is there a way to extent the digits to at least 7?
i'm saving GPS positions into the dabase and 3 digits are really too low for use
Saving the position as text give me the full fraction of 7 digits
created the table as following
Dim m As Map
m.Initialize
m.Put("Id", DBUtils.DB_INTEGER)
m.Put("SpotName", DBUtils.DB_TEXT)
m.Put("Date", DBUtils.DB_INTEGER)
m.Put("Time", DBUtils.DB_INTEGER)
m.Put("Latitude", DBUtils.DB_REAL)
m.Put("Longitude", DBUtils.DB_REAL)
DBUtils.CreateTable(SQL1, "spots", m, "Id")
for test i putted in 123.45678901, got back 123.457, checked it with SQlite viewer, got the same when i read it back from the database
Is there a way to extent the digits to at least 7?
i'm saving GPS positions into the dabase and 3 digits are really too low for use
Saving the position as text give me the full fraction of 7 digits
created the table as following
Dim m As Map
m.Initialize
m.Put("Id", DBUtils.DB_INTEGER)
m.Put("SpotName", DBUtils.DB_TEXT)
m.Put("Date", DBUtils.DB_INTEGER)
m.Put("Time", DBUtils.DB_INTEGER)
m.Put("Latitude", DBUtils.DB_REAL)
m.Put("Longitude", DBUtils.DB_REAL)
DBUtils.CreateTable(SQL1, "spots", m, "Id")