issue in netui formatNumber tag
-------------------------------
Key: BEEHIVE-1216
URL: https://issues.apache.org/jira/browse/BEEHIVE-1216
Project: Beehive
Issue Type: Bug
Components: NetUI
Affects Versions: 1.0
Reporter: Poornachandran
Priority: Minor
The following is the code snippet
<netui:span value="999999999999999999.97">
<netui:formatNumber pattern="#,###.##" type="currency" />
</netui:span>
produces the result 1,000,000,000,000,000,000
The issue is identified in FormatNumber tag class, instead of using double,
usage of BigDecimal resolves the issue. I shall attach the patch file. Please
submit this if it is okay.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.