Subject: Re: [xsl] making a number from a decimal in XPath 2.0 From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 16 May 2005 12:42:38 -0400 |
Better:
($arg + $extent - 1) idiv $extent
> How do I make ceiling($arg div $extent) into an integer?
Use: xs:integer(ceiling($arg div $extent))
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] making a number from a de, Dimitre Novatchev | Thread | RE: [xsl] making a number from a de, Michael Kay |
Re: [xsl] Namespace and XPATH for X, David Carlisle | Date | Re: [xsl] Junit-type Framework for , Dave Pawson |
Month |