Re: [xsl] Re: XSLT 2.0 Decimal number silliness

Subject: Re: [xsl] Re: XSLT 2.0 Decimal number silliness
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 09:39:55 -0500
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.Shaw@xxxxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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?

Current Thread