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

Subject: Re: [xsl] Numbers containing 'e+..' not recognised as numbers
From: Drew McLellan <lists@xxxxxxxxxxxxxxxx>
Date: Mon, 4 Jul 2005 19:56:15 +0100
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.


Current Thread