RE: [xsl] Number functions

Subject: RE: [xsl] Number functions
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 7 May 2004 16:13:11 +0100
> I have a number like 3.16738127 in the field and I want to 
> see 3.16 from my browser.

If you wanted 3.17, you could achieve this using format-number().

If you really want 3.16, you can do it using floor($x * 100) div 100.

Michael Kay

Current Thread