diff --git a/core/src/Legacy/Modifiers.php b/core/src/Legacy/Modifiers.php index e6f3863abe..d8141a9ccb 100644 --- a/core/src/Legacy/Modifiers.php +++ b/core/src/Legacy/Modifiers.php @@ -793,7 +793,7 @@ public function getValueFromPreset($key, $value, $cmd, $opt) case 'money_format': setlocale(LC_MONETARY, setlocale(LC_TIME, 0)); if ($value !== '') { - return $this->money_format($opt, (double)$value); + return $this->money_format($opt, (float)$value); } break; case 'tobool':