xsl-list
[Top] [All Lists]

RE: Number functions

2004-05-07 07:38:13
I have a number like 3.16738127 in the field and I want to see 3.16 from my 
browser.
Thank's
andrea

XSLT 1.0 has only one numeric data type, called "number", which is actually
double-precisiong floating point.

XSLT 2.0 has four numeric types, integer, decimal, float, and double, and an
increased range of operators and functions to match.

Perhaps you could explain what you are trying to do?

Michael Kay

-----Original Message-----
From: Andrea Racca [mailto:racca(_at_)libero(_dot_)it]
Sent: 07 May 2004 13:22
To: xsl-list
Subject: [xsl] Number functions

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


--+------------------------------------------------------------------
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>
--+--




--+------------------------------------------------------------------
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>
--+--





<Prev in Thread] Current Thread [Next in Thread>