We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8524e8 commit 63ba16fCopy full SHA for 63ba16f
1 file changed
system/Helpers/number_helper.php
@@ -77,7 +77,7 @@ function number_to_amount($num, int $precision = 0, ?string $locale = null)
77
{
78
// Strip any formatting & ensure numeric input
79
try {
80
- $num = 0 + (int) str_replace(',', '', $num);
+ $num = 0 + str_replace(',', '', $num);
81
} catch (ErrorException $ee) {
82
return false;
83
}
0 commit comments