[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: formatting numbers

Subject: RE: formatting numbers
From: vsubramanian@xxxxxxxxxx
Date: Thu, 27 May 2004 09:16:59 -0400
xml decimal format
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. 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.