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

RE: Format number

Subject: RE: Format number
From: "Oleg Tkachenko" <ost@xxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 17:09:31 +0200
xml decimal format standart
Hello Carlos !

You can define your own decimal format:

<xsl:decimal-format decimal-separator="," grouping-separator="."/>

and then use it this way:

<xsl:value-of select="format-number(., '#.###,##')"/>

---
Oleg Tkachenko,
Multiconn International 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Carlos 
> Durand Silvestrin
> Sent: Friday, July 27, 2001 3:34 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Format number
> 
> 
> How can I format number like this:
> 
> Number:	4563.89
> 
> output:	4.563,89
> 
> This number format is not standart, how generate this?
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 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.