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 <[email protected]>
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)
                 }

Reply via email to