RE: [xsl] formatting numbers

Subject: RE: [xsl] formatting numbers
From: vsubramanian@xxxxxxxxxx
Date: Thu, 27 May 2004 09:16:59 -0400
Hi1,

Please use <xsl:decimal-format>

E.g. <xsl:decimal-format name="montant" decimal-separator=","
grouping-separator=","/>

HTH,
Vidya



-----Original Message-----
From: SMITH Neil [mailto:neil.smith@xxxxxxxx]
Sent: Thursday, May 27, 2004 8:10 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] formatting numbers


Hello!

I have a little problem with the format of my numbers... Living in
Switzerland, I would like to use a separator other than a comma (,)...
Is it possible to use ' ???
By just replacing the commas by an apostrophe, it obviously doesn't
work... Is there a way to do this???

<xsl:value-of select='format-number(montant, "###,###,###")' />

Thanks!
Neil. 

Current Thread