Running it directly in jdbc-sqlite3:

[1] pry(#<Dragonfly::Routes>)> rs.getString(5)
=> "55.366667"
[2] pry(#<Dragonfly::Routes>)> rs.getFloat(5)
=> 55.366668701171875
[3] pry(#<Dragonfly::Routes>)> rs.getDouble(5)
=> 55.366667

Is there a way in Sequel to have return the Double and not the Float?


On Wednesday, April 29, 2015 at 3:32:09 PM UTC-5, Jeremy Evans wrote:
>
> On Wednesday, April 29, 2015 at 12:42:12 PM UTC-7, Rohit Amarnath wrote:
>>
>> Yup, I am aware of the reason for this. 
>>
>> I believe the reason you probably are not seeing the issue is because I 
>> am running this under JRuby (apologies for not throwing these details up 
>> before):
>>
>> jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit 
>> Server VM 1.7.0_60-b19 +jit [darwin-x86_64]
>> sequel (4.21.0)
>> jdbc-sqlite3 (3.8.7)
>>
>
> Do you get accurate results when using jdbc-sqlite3 directly?  If so, this 
> may be an issue with Sequel.  Otherwise, you should talk to the 
> jdbc-sqlite3 developers.
>
> Thanks,
> Jeremy 
>

-- 
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.

Reply via email to