[Home] [By Thread] [By Date] [Recent Entries]
> Any one know how to eliminate Trailing Zeros.
>
> Decimal-Format from 13.70 to be 13.7 ??
<xsl:value-of select="format-number('13.70','#,##0.#')"/>
result: 13.7
If you want the zeros back:
<xsl:value-of select="format-number('13.70','#,##0.00')"/>
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



