[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: numbering

Subject: RE: numbering
From: Edmund Mitchell <EMitchell@xxxxxxx>
Date: Fri, 2 Feb 2001 10:45:37 -0800
yuema
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


Current Thread
  • RE: numbering, (continued)
    • Michael Kay - Fri, 2 Feb 2001 14:03:33 -0500 (EST)
    • Oliver Becker - Fri, 2 Feb 2001 13:23:31 -0500 (EST)
    • 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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.