Subject: Re: Formatting Numbers and Dates From: Miloslav Nic <nicmila@xxxxxxxx> Date: Fri, 06 Aug 1999 07:03:45 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Formatting Numbers and Dates, Emery, Ric | Thread | Beginner question with templates, Martin Rothschink, A |
Re: FO DTD from XSL WD., James Tauber | Date | lists as parameters, Jon Smirl |
Month |