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]

Re: Getting rid of leading zeros in format-number


.. 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]