cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunter D'Hondt <>
Subject Re: decimal formatting
Date Fri, 28 Jan 2005 09:33:53 GMT
I've also tried a plain java program and call it like this:
java -Duser.language=fr  -Duser.variant=FR Main

java program:
public class Main {

    public static void main(String[] args) {
        double d=123.45;

as you say this would output "d=123,45" but it always outputs "d=123.45"


Bertrand Delacretaz <> 
28-01-2005 09:28
Please respond to


Re: decimal formatting

Le 27 janv. 05, à 14:24, Gunter D'Hondt a écrit :

> there a way to set this for the whole Cocoon application? 
> something
> like setting the locale for the xslt-transformer?..

You can set the Locale globally at the JVM level, by setting the 
appropriate command-line options when starting the JVM.
Usually this is set by the user.language and system 

Dunno if it would help in your particular case, but that's what I'd try 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message