[xsl] Calculate mantissa and exponent?

Subject: [xsl] Calculate mantissa and exponent?
From: "Mitchell, Edmund" <EMitchell@xxxxxxx>
Date: Thu, 9 Aug 2001 05:19:28 -0700
Hello all,
I have to calculate a numbers' mantissa and exponent.
So if I have 123456, it should be normalized as 1,23456e+5.
Unfortunately, I have to use only pure xsl, no extension functions or
scripts are allowed.
XSLTSL & EXSLT don't seem to have this functionality.

To avoid re-inventing the wheel, has anyone solved this before?  

Thanks,

Edmund

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread