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]

Using format-number()


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@actfs.co.uk
*	http://www.actfs.co.uk



 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]