xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amick, Eric" <Eric.Am...@mail.house.gov>
Subject RE: numberformatting problem (austrian format)
Date Tue, 12 Jul 2011 14:54:59 GMT
One other thing: If you need all instances of format-number to behave the same, using

<xsl:decimal-format decimal-separator="," grouping-separator="." />

will change the default decimal formatting, and you can then leave off the third argument
to format-number().

Eric Amick   Systems Engineer II
Legislative Computer Systems

From: haichao.miao@raibau.at [mailto:haichao.miao@raibau.at]
Sent: Tuesday, July 12, 2011 10:21
To: fop-users@xmlgraphics.apache.org
Subject: numberformatting problem (austrian format)

I'm using fop to process PDFs. I need to format a number.
<xsl:value-of select="format-number(10000, '####,###.00')" />

The output in this case is 10,000.00
My problem is, that I need the number format in Austria, which is 10.000,00 (the comma and
the point are switched)

View raw message