xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor