myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <>
Subject [jira] Created: (TRINIDAD-1124) numberconverter has issue with bigdecimal
Date Tue, 17 Jun 2008 01:05:45 GMT
numberconverter has issue with bigdecimal

                 Key: TRINIDAD-1124
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Matthias Weßendorf
            Assignee: Matthias Weßendorf

Due to a potential bug in BigDecimal there is a bug, when you use BigDecimal
with a NumberConverter.

<tr:inputText value="#{bean.number}" ...>
  <tr:convertNumber />

For instance, when the entered value is "333.111" the actual stored value is 333.1109999999999899955582804977893829345703125

There is a mathematic explanation for that in here:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message