Skip to content

Commit

Permalink
Merge pull request #425 from SimonUzL/master
Browse files Browse the repository at this point in the history
Fix for the CSVExporter
  • Loading branch information
jawalonoski authored Sep 27, 2018
2 parents 48ed669 + dcde618 commit d5f46b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/mitre/synthea/export/CSVExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.math.RoundingMode;
import java.nio.file.Path;
import java.util.UUID;
import java.util.Locale;

import org.mitre.synthea.helpers.Utilities;
import org.mitre.synthea.world.agents.Person;
Expand Down Expand Up @@ -322,7 +323,7 @@ private String encounter(String personID, Encounter encounter) throws IOExceptio
//DESCRIPTION
s.append(clean(coding.display)).append(',');
//COST
s.append(String.format("%.2f", encounter.cost())).append(',');
s.append(String.format(Locale.US, "%.2f", encounter.cost())).append(',');
//REASONCODE & REASONDESCRIPTION
if (encounter.reason == null) {
s.append(",");
Expand Down

0 comments on commit d5f46b1

Please sign in to comment.