You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2025/09/24 06:50:50 UTC
(grails-core) 01/02: fix(geb): feedback - use `BigDecimal` in `GrailsGebSettings`
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch geb-8
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 933057b3c38113c3dabaf53826370a2988f8f72d
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Wed Sep 24 08:21:11 2025 +0200
fix(geb): feedback - use `BigDecimal` in `GrailsGebSettings`
---
.../src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grails-geb/src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy b/grails-geb/src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy
index e5b5b262ff..632edc9491 100644
--- a/grails-geb/src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy
+++ b/grails-geb/src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy
@@ -99,7 +99,7 @@ class GrailsGebSettings {
if (propValue) {
try {
if (propValue.contains('.')) {
- return Double.parseDouble(propValue)
+ return new BigDecimal(propValue)
} else {
return Integer.parseInt(propValue)
}