This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Using format-number()
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Using format-number()
- From: "Ellis, Graham" <graham dot ellis at actfs dot co dot uk>
- Date: Thu, 25 Jan 2001 09:25:04 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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