Re: making a number from a decimal in XPath 2.02005-05-16 01:16:26How do I make ceiling($arg div $extent) into an integer?Use: xs:integer(ceiling($arg div $extent)) Better: ($arg + $extent - 1) idiv $extent Cheers, Dimitre --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com> --~--
|
|