I have a SQLite table that is defined as:
DB.create_table :airport_codes do
column :airport_code, :text
column :airport_latitude, :real
column :airport_longitude, :real
end
The row stored is:
{:airport_code=>"DXB",
:airport_latitude=>25.25,
:airport_longitude=>55.366667
}
Row returned by Sequel is:
{:airport_code=>"DXB",
:airport_latitude=>25.25,
:airport_longitude=>55.366668701171875
}
How can I have it return exactly what is in the database without the
precision change?
Thanks for the help!
Rohit
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.