[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Formatting question


Subject: Re: [xsl] Formatting question
From: "Michael Peet" <mjpeet@xxxxxxxxxxx>
Date: Fri, 21 Jun 2002 14:50:41 -0400

This seems to work for me:

<xsl:value-of select="format-number($num, '#,###.00')"/>

Best Regards,

Mike

From: Jitt_Joynoosaeng@xxxxxxxxxxx
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Formatting question
Date: Fri, 21 Jun 2002 12:56:01 -0500


Is it possible to take an xml value and reformat it in XSL? Example, I have a value of 5320.89 and would like to format it so it would be displayed with a comma (5,320.89). Does anyone know how I can do this?

Thanks!

Jitt


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords
xml