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

Comment on double data type

From: Mark Jablin <jablin@bridgetech-laramie.com>
Date: Wed, 21 Mar 2001 10:58:42 -0700
To: <www-xml-schema-comments@w3.org>
Message-ID: <JFEHJBENHGBJBJOMOMBDMEOMCAAA.jablin@bridgetech-laramie.com>
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
Received on Wednesday, 21 March 2001 12:54:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:54 UTC