Commit 99dc0e32 authored by Diego Rubert's avatar Diego Rubert

Locale set to en_US to prevent float numbers being print with , instead of . in some locales.

parent d0c9cc8a
......@@ -40,6 +40,7 @@ import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.text.ParseException;
import java.util.Locale;
import java.util.prefs.Preferences;
import java.util.prefs.PreferencesFactory;
......@@ -50,7 +51,9 @@ public class Gecko3 {
String lcOSName = System.getProperty("os.name").toLowerCase();
logger.info("You are running {}-Java on {}", System.getProperty("os.arch"), System.getProperty("os.name"));
// To avoid printing float numbers with "," instead of "." in some locales.
Locale.setDefault(new Locale("en", "US"));
/*
* Check for command line parameters
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment