I am trying to display a numeric value fetched from an sql server table which is stored in the exponential notation. For eg, 0.08 is getting stored in the table as 8.0000000000000002E-2. This causes the xslt function format-number() to fail.
I use it as
Expand|Select|Wrap|Line Numbers
- <xsl:value-of select='format-number(8.0000000000000002E-2, "###,###.00")' />
Expand|Select|Wrap|Line Numbers
- This name may not contain the '#' character: -->#<--##,###.00 -->format-number(8.0000000000000002E-2, "###,###.00")<--
Expand|Select|Wrap|Line Numbers
- <xsl:value-of select='format-number(number(8.0000000000000002E-2), "###,###.00")' />
Many thanks in advance..