force to a float (https://github.com/woocommerce/woocommerce-admin/pull/5149)
This commit is contained in:
parent
3abeda602a
commit
d057022caf
|
@ -287,7 +287,7 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
|
|||
'tax_rate_id' => $tax_item->get_rate_id(),
|
||||
'shipping_tax' => $tax_item->get_shipping_tax_total(),
|
||||
'order_tax' => $tax_item->get_tax_total(),
|
||||
'total_tax' => $tax_item->get_tax_total() + $tax_item->get_shipping_tax_total(),
|
||||
'total_tax' => (float) $tax_item->get_tax_total() + (float) $tax_item->get_shipping_tax_total(),
|
||||
),
|
||||
array(
|
||||
'%d',
|
||||
|
|
Loading…
Reference in New Issue