Skip to content

Commit

Permalink
review: consistent handling of % values
Browse files Browse the repository at this point in the history
  • Loading branch information
karsten-klein committed Sep 10, 2024
1 parent 884a0fa commit d8ec294
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ public float getPercentile() {
}

public String getEpssScoreAsPercentage() {
return String.format("%.2f", epssScore * 100) + "%";
return String.format("%.2f", epssScore * 100) + " %";
}

public String getTopRatedPercentileAsPercentage() {
return String.format("%.2f", 100 - percentile * 100) + "%";
return String.format("%.2f", 100 - percentile * 100) + " %";
}
}

0 comments on commit d8ec294

Please sign in to comment.