mardi 20 août 2019

How to solve ErrorException in PaymentHelper.php line 316: Division by zero in laravel?

code:

$result['rooms_price'] = round($result['total_night_price'] / $total_nights);

I am simply doing calculation but I had got an error i.e. Division by zero. Please tell me how can I resolve and what does it mean.

Thank You



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Zi0T9I
via IFTTT

Aucun commentaire:

Enregistrer un commentaire