This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Format number
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Format number
- From: "Oleg Tkachenko" <ost at olegtkachenko dot com>
- Date: Fri, 27 Jul 2001 17:09:31 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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