Skip to content

Commit 933057b

Browse files
committed
fix(geb): feedback - use BigDecimal in GrailsGebSettings
1 parent 4a407cb commit 933057b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-geb/src/testFixtures/groovy/grails/plugin/geb/GrailsGebSettings.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class GrailsGebSettings {
9999
if (propValue) {
100100
try {
101101
if (propValue.contains('.')) {
102-
return Double.parseDouble(propValue)
102+
return new BigDecimal(propValue)
103103
} else {
104104
return Integer.parseInt(propValue)
105105
}

0 commit comments

Comments
 (0)