ICU would not see this as a bug, because it is a feature of their
implementation of DecimalFormat. The pattern ".1" for ICU means to round the
value to the nearest tenth, while the RI takes it literally. If you look at
the JavaDocs for ICU, you'll see the following message:
*This is an enhanced v
Alexey Petrenko 写道:
2006/11/6, Spark Shen <[EMAIL PROTECTED]>:
Alexey Petrenko 写道:
> Hi, Mike.
>
> You can find compatybility guideline for Harmony here:
>
http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html
>
>
> According to your testcase. I think it is a bug and you
2006/11/6, Spark Shen <[EMAIL PROTECTED]>:
Alexey Petrenko 写道:
> Hi, Mike.
>
> You can find compatybility guideline for Harmony here:
> http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html
>
>
> According to your testcase. I think it is a bug and you should file it
> to JIRA
Alexey Petrenko 写道:
Hi, Mike.
You can find compatybility guideline for Harmony here:
http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html
According to your testcase. I think it is a bug and you should file it
to JIRA.
AFAIK, ICU has its own mailing list[1]. If that inc
Mike Ringrose wrote:
Before submitting a bug to JIRA, I was curious to know, how exact should
Harmony behave when compared to the RI. For example, the code below
produces
different results when compared to the RI.
DecimalFormat f = new DecimalFormat(".1");
System.out.println(f.format(17.
Hi, Mike.
You can find compatybility guideline for Harmony here:
http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html
According to your testcase. I think it is a bug and you should file it to JIRA.
SY, Alexey
2006/11/4, Mike Ringrose <[EMAIL PROTECTED]>:
Before submittin
Before submitting a bug to JIRA, I was curious to know, how exact should
Harmony behave when compared to the RI. For example, the code below produces
different results when compared to the RI.
DecimalFormat f = new DecimalFormat(".1");
System.out.println(f.format(17.16));
Harmony outputs 17.