You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/12/19 11:07:17 UTC
DO NOT REPLY [Bug 41208] New: - strange behaviour of fmt:formatNumber
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41208>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41208
Summary: strange behaviour of fmt:formatNumber
Product: Tomcat 5
Version: 5.5.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dimmik.a@gmail.com
CC: dimmik.a@gmail.com
(I hope, I choose right component)
<li>4.5: <fmt:formatNumber value="4.5" type="currency" pattern="#" /> (must be
5)
<li>5.5: <fmt:formatNumber value="5.5" type="currency" pattern="#" />
<li>3.5: <fmt:formatNumber value="3.5" type="currency" pattern="#" />
<li>6.5: <fmt:formatNumber value="6.5" type="currency" pattern="#" /> (must be
7)
produces
4.5: 4 (must be 5)
5.5: 6
3.5: 4
6.5: 6 (must be 7)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41208] - strange behaviour of fmt:formatNumber
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41208>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41208
funkman@joedog.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From funkman@joedog.org 2006-12-19 03:37 -------
Not a tomcat bug - its an issue with the JSTL tag implementation of fmt. But it
appears - its a known issue.
http://robobruin.blogspot.com/2006/07/fmtformatnumber-rounding-behavior.html
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org