Subject: Re: [xsl] Trailing Zeros From: "Joerg Heinicke" <joerg.heinicke@xxxxxx> Date: Wed, 13 Feb 2002 23:13:59 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT !! easy one!! , Trailing, Ragan, Mitch | Thread | Re: [xsl] XSLT !! easy one!! , Trai, Oliver Becker |
[xsl] XSLT !! easy one!! , Trailing, Ragan, Mitch | Date | Re: [xsl] Problems accessing child , Peter Davis |
Month |