Re: [xsl] Avoid rounding up/down in format-number function

Subject: Re: [xsl] Avoid rounding up/down in format-number function
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Fri, 02 Jan 2004 09:49:07 -0500
Jonny Pony wrote:
Hi,

is there a way to avoid rounding up/down in the format-number() function?


Can you give an example of what you're seeing? Several XSLT processors round improperly.


The usual solution is to round your results yourself, before you feed them to format-number().




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



Current Thread