BigDecimal outputs to_s("F") differently than MRI --------------------------------------------------
Key: JRUBY-2265 URL: http://jira.codehaus.org/browse/JRUBY-2265 Project: JRuby Issue Type: Bug Environment: Windows XP, Java 1.6, JRuby Rev 6184 Reporter: Alex Durgin Assignee: Thomas E Enebo BigDecimal to_s("F") output is different from MRI. MRI does not output the trailing zeros. MRI: {noformat} x = BigDecimal.new("1.2500") x.to_s("F") => "1.25" {noformat} JRuby: {noformat} x = BigDecimal.new("1.2500") x.to_s("F") => "1.2500" {noformat} -- 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