xsl-list
[Top] [All Lists]

Re: Re: XSLT 2.0 Decimal number silliness

2004-03-29 07:37:52
yes, i was not thinking xsl also doing a c and perl question on the same
topic.
----- Original Message -----
From: "Jeff Kenton" <jkenton(_at_)datapower(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Monday, March 29, 2004 3:39 PM
Subject: Re: [xsl] Re: XSLT 2.0 Decimal number silliness



You are confusing different floating point types -- 32bit single
precision, 64bit double precision and 128bit extended precision -- with
decimal numbers.  Decimals are specified in the Schema spec, and are
completely different critters.

--jeff


Andrew Curry wrote:
I believe its precision

float: stores a number between +/- 1.5 X 10-45 to +/- 3.4 X 1038

The "decimal" data type should be used when you require a high level of
precision, since it can accurately store data up to 28 digits after the
decimal points (128-bit precision).


----- Original Message -----
From: "Rowland Shaw" <Rowland(_dot_)Shaw(_at_)businessobjects(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Monday, March 29, 2004 3:15 PM
Subject: RE: [xsl] Re: XSLT 2.0 Decimal number silliness



Maybe I'm being really dumb here, but what is the difference between a
decimal number and a floating point number?



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