[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: format-number usage on international platform
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|