File: Data.xml
100
1000
10000
100000
1000000
10000000
100000000
1000000000
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
grouping-separator="." />
grouping-separator=" " />
grouping-separator=" " />
grouping-separator="," />
grouping-separator="," />
Number Formatter
Number Formatter
Deutschland
France
Россия
United Kingdom
United States
select="format-number(.,'.###,00€','de')" />
select="format-number(.,' ###,00€','fr')" />
select="format-number(.,' ###,00p.','ru')" />
select="format-number(.,'£,###.00','uk')" />
select="format-number(.,'$,###.00','us')" />
Output:
Number Formatter
Number Formatter
Deutschland
France
??????
United Kingdom
United States
100,00€
100,00€
100,00p.
£100.00
$100.00
1.000,00€
1 000,00€
1 000,00p.
£1,000.00
$1,000.00
10.000,00€
10 000,00€
10 000,00p.
£10,000.00
$10,000.00
100.000,00€
100 000,00€
100 000,00p.
£100,000.00
$100,000.00
1.000.000,00€
1 000 000,00€
1 000 000,00p.
£1,000,000.00
$1,000,000.00
10.000.000,00€
10 000 000,00€
10 000 000,00p.
£10,000,000.00
$10,000,000.00
100.000.000,00€
100 000 000,00€
100 000 000,00p.
£100,000,000.00
$100,000,000.00
1.000.000.000,00€
1 000 000 000,00€
1 000 000 000,00p.
£1,000,000,000.00
$1,000,000,000.00