objective c - sqlite float comparison - is this predictable? -


i have locations table in sqlite:

create table locations (location_id integer primary key, place_name, city text, country text, lat real, lng real, image blob); 

i'd implement following method on locationdao

- (gtplocation*)findbylatitude:(cgfloat)latitude longitude:(cgfloat)longitude; 

how sqlite handle searching cgfloat? normal issues float comparison still apply? better store these values strings?

all of locations come different sources, pumped through apple's standard cllocation geocoder, before being saved in database.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -