A quick look at Michael Kay's book "XSLT Programmer's Reference" reveals, at
the beginning of chapter 4, "Functions", that there are arithmetic functions
floor() and round() in XSLT.
PC2
-----Original Message-----
From: YueMa [mailto:may@xxxxxxxxxxxxxxxx]
Sent: February 2, 2001 10:30
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: numbering
Is there any simple way that I can get the integer result only from
expression like I want 2(or 3) from 5 div 2
Or I have to use string function to "build" that result?
Thanks!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- numbering, (continued)
- YueMa - Fri, 2 Feb 2001 13:30:55 -0500 (EST)
- Edmund Mitchell - Fri, 2 Feb 2001 13:46:17 -0500 (EST)
- YueMa - Fri, 2 Feb 2001 14:07:56 -0500 (EST)
- Clapham, Paul - Fri, 2 Feb 2001 19:02:45 -0500 (EST) <=
|
|