xsl-list
[Top] [All Lists]

RE: formatting numbers

2004-05-27 06:16:59
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(_dot_)smith(_at_)unifr(_dot_)ch]
Sent: Thursday, May 27, 2004 8:10 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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. 


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


<Prev in Thread] Current Thread [Next in Thread>