Re: [android-developers] Data storage, which data type?

2009-12-16 Thread Olivier Guilyardi
On 12/16/2009 05:00 PM, Neilz wrote: > Hi all. > > I want to store location data in sqlite. A latitude coordinate is a > double, with 15 point precision. As far as I can tell this corresponds > with the 'REAL' datatype which is 8 bytes. The alternative I suppose > would be to store it as a String,

[android-developers] Data storage, which data type?

2009-12-16 Thread Neilz
Hi all. I want to store location data in sqlite. A latitude coordinate is a double, with 15 point precision. As far as I can tell this corresponds with the 'REAL' datatype which is 8 bytes. The alternative I suppose would be to store it as a String, and simply convert it back into a double later.