|
Subject: Re: [xsl] making a number from a decimal in XPath 2.0 From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 16 May 2005 18:16:26 +1000 |
> > How 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] making a number from a de, Dimitre Novatchev | Thread | Re: [xsl] making a number from a de, Wendell Piez |
| Re: [xsl] For-each loop or recursio, omprakash . v | Date | Re: [xsl] For-each loop or recursio, David Carlisle |
| Month |