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

Re: format-number usage on international platform

Subject: Re: format-number usage on international platform
From: David_Marston@xxxxxxxxx
Date: Fri, 17 Aug 2001 10:56:39 -0400
number formats separator international
Nuri Besen writes:
>[Error is] Malformed format string
>  <xsl:value-of select="format-number(AMT,'#,##0')"/>
>I know the regional settings for WinNT4.0 are set to Turkish and the
>thousands separator is a '.' (period) and I have tested the format as:
>...
>Am I using this correctly?  Any help is appreciated.

I think it's safest to declare a decimal-format so that you are sure
about which character is the grouping (thousands) separator. If ","
is the decimal-separator, then '#,##0' would become invalid because
you'd have optional digits (#) in between the decimal-separator (,)
and the mandatory digit (0).
.................David Marston


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.