We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3702672 commit 52f529fCopy full SHA for 52f529f
1 file changed
src/Core/Environment.php
@@ -158,7 +158,7 @@ public function lookupVariable(string $name): RuntimeValue
158
public static function convertToRuntimeValues(mixed $input): RuntimeValue
159
{
160
if (is_numeric($input)) {
161
- return new NumericValue($input);
+ return new NumericValue(floatval($input));
162
}
163
164
if (is_string($input)) {
0 commit comments