From cea60c3f99d8841d9d273815bc7df9faff24d15b Mon Sep 17 00:00:00 2001 From: chrisala Date: Thu, 19 Dec 2024 09:30:23 +1100 Subject: [PATCH] Add decimalPlaces attribute to Score #3392 --- src/main/groovy/au/org/ala/merit/Score.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/au/org/ala/merit/Score.groovy b/src/main/groovy/au/org/ala/merit/Score.groovy index 1a6b9ec89..8fc78ba32 100644 --- a/src/main/groovy/au/org/ala/merit/Score.groovy +++ b/src/main/groovy/au/org/ala/merit/Score.groovy @@ -39,6 +39,7 @@ class Score { BigDecimal target Map result List periodTargets + Integer decimalPlaces double singleResult() { this.result?.result ?: 0d