This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Calculate mantissa and exponent?
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Calculate mantissa and exponent?
- From: "Mitchell, Edmund" <EMitchell at fnf dot com>
- Date: Thu, 9 Aug 2001 05:19:28 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
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