This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Format number


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@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Carlos 
> Durand Silvestrin
> Sent: Friday, July 27, 2001 3:34 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]