BigDecimal to_s blows up for bad format strings
-----------------------------------------------

                 Key: JRUBY-1257
                 URL: http://jira.codehaus.org/browse/JRUBY-1257
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Stuart Halloway
            Priority: Trivial
         Attachments: fix_big_decimal_to_s.diff

This blows up:

bd.to_s("+-2")

The attached patch fixes the bug and makes the code more readable.

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