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

RE: [xsl] Number functions


Subject: RE: [xsl] Number functions
From: "Andrea Racca" <racca@xxxxxxxxx>
Date: Fri, 7 May 2004 16:38:13 +0200

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@xxxxxxxxx] 
> > 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


Current Thread
Keywords