RE: [xsl] Format number

Subject: RE: [xsl] Format number
From: "Oleg Tkachenko" <ost@xxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 17:09:31 +0200
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: [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


Current Thread