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: 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.
|