This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |