[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Xalan Rounding


Subject: RE: [xsl] Xalan Rounding
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Fri, 10 May 2002 15:31:04 -0400 (EDT)

On Fri, 10 May 2002, Stuart Celarier wrote:

..Perform whatever rounding math you desire explicitly before passing the
..value to format-number:
..
..  format-number( round(//value), '##')
..


This will work, and solve his problem, but the spec is clear that 
format-number() should do that for him.  The XSLT 2.0 spec has the gory 
details, as does the Java spec referenced in the XSLT 1.0 spec.


-- 

Jeff Kenton
DataPower Technology, Inc.
**** Wire speed XSLT ****



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords