|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: numbering
Thanks! (.....I should read the spec. slowly and carefully) Edmund Mitchell wrote: > Hello > > 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? > > You might try the function round(). For example, round(5 div 2) > Check it out (and the other number functions) at > http://www.w3.org/TR/xpath.html#section-Number-Functions > > I hope that helps > > Edmund > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








