Skip to content

Commit

Permalink
Add decimalPlaces attribute to Score #3392
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 18, 2024
1 parent 4aaa50e commit cea60c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/groovy/au/org/ala/merit/Score.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Score {
BigDecimal target
Map result
List<Map> periodTargets
Integer decimalPlaces

double singleResult() {
this.result?.result ?: 0d
Expand Down

0 comments on commit cea60c3

Please sign in to comment.