Skip to content

Commit

Permalink
fix(script): Sorting DataAnalyzer Percent Double
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunawood committed Dec 11, 2024
1 parent b8482cc commit f5bad30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class ToothController {
if(100 < Double.parseDouble(percentStr))
percentStr = "100.00";
toothReport.setName(koreanPart);
toothReport.setPercent(percentStr);
toothReport.setPercent(Double.parseDouble(percentStr));
toothReport.setDescription(toothService.evaluationPercentValue(Double.parseDouble(percentStr)));
toothReports.add(toothReport);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ToothDataAnalyzer {
@Setter
public static class ToothReport implements Comparable<ToothReport>{
private String name;
private String percent;
private Double percent;
private String description;

@Override
Expand Down

0 comments on commit f5bad30

Please sign in to comment.