[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: XSLT 2.0 Decimal number silliness

Subject: RE: Re: XSLT 2.0 Decimal number silliness
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 22:06:10 +0500 (AMST)
csharp decimal
> # 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).
>
> There's nothing in the XML Schema or XPath specifications that specifies the
> precision of xs:decimal, other than a statement that at least 18 decimal
> digits must be supported. I've no idea where you got 128 bits from, nor 28
> digits.

C# is where it can come from:

http://www.yoda.arachsys.com/csharp/decimal.html

In general, however, it is not a fault of C# or the poster; it
is easy to make the mistake with most other numeric types derived
from binary representations.

It is a trap for a user to provide floating point inexact types
defined by restriction of an exact rational type.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.