You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/10 15:35:36 UTC

DO NOT REPLY [Bug 23064] New: - The format-number() Function

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23064

The format-number() Function

           Summary: The format-number() Function
           Product: XalanJ2
           Version: 2.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: martin.pachinger@siemens.com


In Xalan 2.0.0 the 
<xsl:value-of select="format-number(number,format,[decimalformat])"/> 
where number="2.090699555E7", format="###.###.###.##0,00" and 
decimalformat='de_currency' (<xsl:decimal-format name="de_currency" decimal-
separator="," grouping-separator="." />) the transformation to "20.906.995,55" 
is no problem.
In version 2.3.1 the transformation results in "NaN"!