File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/nl/rug/jbi/jsm/util Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1010import java .io .File ;
1111import java .io .FileWriter ;
1212import java .io .IOException ;
13+ import java .text .DecimalFormatSymbols ;
1314import java .text .NumberFormat ;
1415import java .util .Iterator ;
1516import java .util .List ;
17+ import java .util .Locale ;
1618import java .util .Map ;
1719
1820import static com .google .common .base .Preconditions .checkArgument ;
@@ -59,7 +61,7 @@ public ResultsExporter(final String fileNamePattern) throws IOException {
5961 this .mappingWriter = new CSVWriter (new FileWriter (mappingFile ));
6062 this .mappingWriter .writeNext (new String []{"Metric Identifier" , "Scope" , "Output File" });
6163
62- this .nf = NumberFormat .getNumberInstance ();
64+ this .nf = NumberFormat .getNumberInstance (Locale . US );
6365 //Set double precision
6466 this .nf .setMinimumFractionDigits (0 );
6567 this .nf .setMaximumFractionDigits (DOUBLE_PRINT_PRECISION );
You can’t perform that action at this time.
0 commit comments