Subject: RE: question regarding the formatting of a number
From: cknell@xxxxxxxxxx
Date: Tue, 11 Apr 2006 09:56:22 -0400
|
<xsl:value-of select="concat('$',substring('54287',1,string-length('54287')-2),'.',substring('54287',string-length('54287')-1,2))" />
--
Charles Knell
cknell@xxxxxxxxxx - email
-----Original Message-----
From: Sascha Ohler <sas0903@xxxxxxxxx>
Sent: Tue, 11 Apr 2006 08:37:08 -0500
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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
|