Laravel this is not only a practical framework, it is also a programming style
I want to multiply quantity and price. Both are decimal value .
$grand_total = $grand_total + (decimal('$result->balance',15,2) * decimal('$result->purchase_price',15,2));
What is the right way ?
Aucun commentaire:
Enregistrer un commentaire