[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] question regarding the formatting of a number
Subject: RE: [xsl] 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: [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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] question regarding the fo, David Carlisle | Thread | [xsl] Processing tag text either si, Neil Crofts |
Re: [xsl] question regarding the fo, andrew welch | Date | [xsl] Transforming an XML structure, Ben Senior |
Month |
Keywords