RE: Rounding a number
> Of course the problem is that I get "1.3333333333333332" I > need to round that down to three decimals. What is the best > approach in XSLT 1.0? You can use format-number($x, '#0.000'), but be aware that in XSLT 1.0 the rounding algorithm isn't specified. Michael Kay http://www.saxonica.com/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format