[xsl] Using format-number()

Subject: [xsl] Using format-number()
From: "Ellis, Graham" <graham.ellis@xxxxxxxxxxx>
Date: Thu, 25 Jan 2001 09:25:04 -0000
I have a problem translating continental style numbers (which have a comma
instead of a decimal point) to "our" notation (e.g. 2,12 to 2.12). 

I can translate from "2.12" to "2,12" using format-number() thus:

<xsl:decimal-format name="CONTINENTAL" decimal-separator=","/>
...
format-number($AMOUNT,'#,00','CONTINENTAL')

but I can't do it the other way!

Thanks

Graham Ellis
ACT Financial Systems

*	Tel:       +44 (0) 20 7250 1990
*	Fax:      +44 (0) 20 7553 4713
*	Email:  graham.ellis@xxxxxxxxxxx
*	http://www.actfs.co.uk



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread