|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: XSLT 2.0 Decimal number silliness
> # 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








