<xsl:value-of
select="concat('$',substring('54287',1,string-length('54287')-2),'.',substring('54287',string-length('54287')-1,2))"
/>
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Sascha Ohler <sas0903(_at_)gmail(_dot_)com>
Sent: Tue, 11 Apr 2006 08:37:08 -0500
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] question regarding the formatting of a number
I'm new to XSL and have come across the following issue. I'm trying to
format this number 54287 to display as $542.87 and seem unable to get it
figured out.
Any suggestions?
Thanks for the help.
Sascha
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--