|
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 433 Location: Silkeborg, Denmark
|
How do I change the default format of numbers in XSLT, specifically decimal numbers? Fx. currently sum() is outputting in US format (1.234,00), but I want it in European format (1.234,00). /SoerenS Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
|
|
 Rank: Addict
Joined: 2/19/2007 Posts: 822 Location: Belgium
|
Not sure about this, but have you tried assigning a language to the site ?
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|
|
 Rank: Aficionado
Joined: 1/19/2008 Posts: 182 Location: Belgium
|
SoerenS wrote:How do I change the default format of numbers in XSLT, specifically decimal numbers?
Fx. currently sum() is outputting in US format (1.234,00), but I want it in European format (1.234,00).
/SoerenS Have a look at format-number and decimal format http://www.w3schools.com/XSL/func_formatnumber.asphttp://www.w3schools.com/XSL/el_decimal-format.asp
Converting a DotNetNuke site to Umbraco : Follow it here
|
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 433 Location: Silkeborg, Denmark
|
|
|
|
Guest |