reading a floating value from a database through jdbc-mysql-adapter returns an 
inprecise value
----------------------------------------------------------------------------------------------

                 Key: JRUBY-4030
                 URL: http://jira.codehaus.org/browse/JRUBY-4030
             Project: JRuby
          Issue Type: Bug
          Components: JRuby-extras
    Affects Versions: JRuby 1.3.1
         Environment: Mac OS X, Rails 2.2.2, activerecord-jdbcmysql-adapter 
(0.9.1) gem
            Reporter: Serguei Filimonov


We have a model with a floating point column in it. when looking at that record 
in mysql, we see a 0.3 value. When accessing the value through activerecord, we 
get 0.300000011920929. 

We could not reproduce this in a new dummy rails application, but could attempt 
to narrow it down further if you cannot reproduce it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to