You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Rick Bullotta <ri...@lighthammer.com> on 2002/05/23 22:24:31 UTC

Exponential formats and XSLT format-number function?

The default output for something like Java's Double.toString() method may
format a value in exponential form, such as 1.57E-2.  However, it seems that
the format-number function does not handle this type of input (although
Double.parseDouble would).

Is this a bug or a designed behavior?  Is there a W3C or ISO standard for
string representation of floating point values in XML?

Thanks for any wisdom.

Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)