[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Number functions


Subject: Re: [xsl] Number functions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 May 2004 14:28:15 +0100

  Hi,
  I known XSL number functions like ceiling, floor, number, round to work with INTEGER.
  There are number funcions that return not only Integer but also float or other type with decimal?
  thank's
  andrea


XSLT1 /Xpath 1 does not have an integer type only "number" which is
effectively IEEE Double. So all numeric functions work (only) with this
type.

XSLT2 / XPath2 drafts use the numeric types in W3C XML schema so this
does include arbitrary precision integers and decimals as well as
floating point types such as double and float.


What functions were you looking for?

David

-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords