You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mike Ringrose (JIRA)" <ji...@apache.org> on 2006/10/09 21:45:21 UTC

[jira] Updated: (HARMONY-988) Formatting doubles: different behaviour with RI

     [ http://issues.apache.org/jira/browse/HARMONY-988?page=all ]

Mike Ringrose updated HARMONY-988:
----------------------------------

    Attachment: diff.txt

The attached patch resolves the differences with the RI and Harmony by doing half up rounding.

> Formatting doubles: different behaviour with RI
> -----------------------------------------------
>
>                 Key: HARMONY-988
>                 URL: http://issues.apache.org/jira/browse/HARMONY-988
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mikhail Fursov
>            Priority: Minor
>         Attachments: diff.txt
>
>
> This simple line produces different results using RI and Harmony VMs
> System.out.format("%.1f\n", 1.45);
> Harmony: 1.4
> RI: 1.5
> I think that this is our bug.
> I tried to find the source of the problem but faced with problem that I can't find sources for com.ibm.icu.text.DecimalFormat file.

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