xsl-list
[Top] [All Lists]

Re: Re: XSLT 2.0 Decimal number silliness

2004-03-29 07:39:55

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?