This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Getting rid of leading zeros in format-number
- From: Jeff Kenton <jkenton at datapower dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 27 Nov 2001 15:40:30 -0500
- Subject: Re: [xsl] Getting rid of leading zeros in format-number
- Reply-to: xsl-list at lists dot mulberrytech dot com
.. From: Chuck White <chuckwh@pacbell.net>
.. Subject: [xsl] Getting rid of leading zeros in format-number
..
.. Is there a way to delete leading 0s in a number using format-number()? I
.. know how to get rid of trailing 0s, but not leading. I would like
..
.. 0004
..
.. to become
..
.. 4
..
Use ###0 as your format pattern.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list