fix csv export with locales that do not use dot as decimal separator
This commit is contained in:
parent
46c61f9ea9
commit
318caa886c
@ -172,7 +172,7 @@ public abstract class ScoreList implements Iterable<Score>
|
||||
for (Score s : this)
|
||||
{
|
||||
String timestamp = dateFormat.format(s.getTimestamp().getUnixTime());
|
||||
String score = String.format("%.4f", s.getValue());
|
||||
String score = String.format((Locale)null, "%.4f", s.getValue());
|
||||
out.write(String.format("%s,%s\n", timestamp, score));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user