Open vintagesucks opened 11 months ago
Both tax and subtotal return numberFormat(), which returns the result of a number_format call: string.
tax
subtotal
numberFormat()
number_format
string
https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L253-L270
https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L272-L289
https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L555-L577
Both
tax
andsubtotal
returnnumberFormat()
, which returns the result of anumber_format
call:string
.https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L253-L270
https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L272-L289
https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L555-L577