xsl-list
[Top] [All Lists]

RE: Number functions

2004-05-07 08:13:11

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



<Prev in Thread] Current Thread [Next in Thread>