|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Formatting Numbers and Dates
I have got several examples of number formatting at: http://zvon.vscht.cz:/HTMLonly/XSLTutorial/Books/Book1/index.html under chapter title: Numbers generation and formatting "Emery, Ric" wrote: > > Not sure about formatting dates. > > Formatting numbers can be achieved with the format-number function of XSL. > This function is described in section 14.3 of the latest XSL spec. > > Here is an example that formats a variable to 2 decimal places. > > <xsl:value-of select="format-number ($SOMENUMBER, '0.00')" /> > > -----Original Message----- > From: Senthil Vaiyapuri [mailto:senthil@xxxxxxxxxx] > Sent: Friday, July 23, 1999 8:26 AM > To: 'xsl-list@xxxxxxxxxxxxxxxx' > Subject: Formatting Numbers and Dates > > Howdy, > > Are there builtin ways (methods) available in XSL to format -- *************************************************************** Dr. Miloslav Nic e-mail: nicmila@xxxxxxxx Department of Organic Chemistry TEL: +420 2 2435 5012 ICT Prague (VSCHT Praha) +420 2 2435 4118 FAX: +420 2 2435 4288 **************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








