W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

RE: Comment on double data type

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 21 Mar 2001 21:18:17 -0800
Message-ID: <9D884881F5E1F24FB845967851720FC31D01A6@red-msg-12.redmond.corp.microsoft.com>
To: "Mark Jablin" <jablin@bridgetech-laramie.com>, <www-xml-schema-comments@w3.org>
Mark:
Thanks for your comment.  Its a good thought but its too late for Schema
1.0.
We will consider it for Schema 1.1.
Ashok

-----Original Message-----
From: Mark Jablin [mailto:jablin@bridgetech-laramie.com]
Sent: Wednesday, March 21, 2001 9:59 AM
To: www-xml-schema-comments@w3.org
Subject: Comment on double data type 


I think you should reconsider the formatting allowed for the "double"
data
type.  Currently, you specify the following:

1267.43233E12, 12.78e-2

I think that for positive exponents, a + sign should be included, for
example, 1267.43E+12.  The reason I feel that this should be added is
that
both C++ and FORTRAN output numbers in scientific notation with either a
+
or - sign in front of the exponent, and not without.  The same
formatting is
done in Microsoft Excel.  In order to write a double in scientific
notation
that matches your specifications from C++ or FORTRAN, I have to copy the
number to a string and remove the plus sign, if it exists.  Please take
this
into consideration.

Mark Jablin, P.E.
BridgeTech, Inc.
302 South 2nd Street, Suite 201
Laramie, WY  82070
(307) 721-5070
jablin@bridgetech-laramie.com
Received on Thursday, 22 March 2001 00:42:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT