src/Entities/CartItem.php
public function getAmount()
    {
        $amount = $this->getPerUnitAmount();

        $totalAmount = bcmul($amount, $this->getQuantity(), 2);

        return floatval($totalAmount);
    }
public function getAmount()
    {
        $amount = $this->getPerUnitAmount();

        $totalAmount = bcmul($amount, $this->getQuantity(), 2);

        return floatval($totalAmount);
    }
The fully calculated item total. This includes
the options, extras & quantity.

@return float