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: Formatting question


This seems to work for me:

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

Best Regards,

Mike

From: Jitt_Joynoosaeng@cargill.com
Reply-To: xsl-list@lists.mulberrytech.com
To: XSL-List@lists.mulberrytech.com
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


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