xsl-list
[Top] [All Lists]

Re: Numbers containing 'e+..' not recognised as numbers

2005-07-04 11:56:15
On 3 Jul 2005, at 21:26, Michael Kay wrote:

This format is inaccurately known in programming circles as "scientific notation", though I've heard scientists refer to it as "Fortran notation".

There's no direct support for this format in XSLT 1.0. In 2.0, the number() function will accept it happily. If you can't move to XSLT 2.0, it looks
like a job for an extension function.

Thanks, Michael. The fact that it's commonly called scientific notation produced a lot more search results than I was getting previously.


drew.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--