You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Warning: A non-numeric value encountered in in MoneyViewHelper Line 83 and division by zero, if currency['cu_sub_divisor'] is not greater than 0
#149
Open
AlenaAzizSafi opened this issue
Apr 5, 2019
· 0 comments
In PHP 7.1, it is nom longer allowed to divide a string by a number.
four / 1 return 1, but we get a PHP Warning. Therefore if a currency has no cu_sub_divisor, we have a division by zero.
The text was updated successfully, but these errors were encountered:
In PHP 7.1, it is nom longer allowed to divide a string by a number.
four / 1 return 1, but we get a PHP Warning. Therefore if a currency has no cu_sub_divisor, we have a division by zero.
The text was updated successfully, but these errors were encountered: