📌  相关文章
📜  Cart::total 返回数字格式值 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:58.597000             🧑  作者: Mango

代码示例1
For the alternative https://github.com/bumbummen99/LaravelShoppingcart 
which is the forked project of https://github.com/Crinsane/LaravelShoppingcart 
and also support the latest Laravel versions.

There is a method called `Cart::totalFloat()` which will return you float value 
for the cart total.