You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gunter D'Hondt <gu...@sofico.be> on 2005/01/28 11:58:30 UTC

[SOLVED] Re: decimal formatting

Indeed, with nl_BE it didn't work but it does with fr_FR !!!

now the Woody part is solved (it uses the fr_FR) and for the xsl I used 
the following:

<xsl:decimal-format name="belgian" decimal-separator="," 
grouping-separator="." />
<xsl:value-of select="format-number($price, '#.###,00', 'belgian')"/>

Thank you all!

Regards,
Gunter D'Hondt







Bertrand Delacretaz <bd...@apache.org> 
28-01-2005 10:50
Please respond to
users@cocoon.apache.org


To
users@cocoon.apache.org
cc

Subject
Re: decimal formatting






Le 28 janv. 05, à 10:20, Gunter D'Hondt a écrit :

> Bertrand,
>
> I've tried that but with no luck; it keeps using the en_US formatting
> instead of nl_BE (or fr_FR); does Cocoon overwrite this in some way?...

I don't think so, but what might happen is that your JVM doesn't have 
the nl_BE Locale installed.

Unless it's the container that you use to run Cocoon overwrites the 
settings?

The best way to find out is to write some code that gets information 
from the default Locale and prints it out, to see if your settings have 
been taken into account or not.

-Bertrand





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org