Decimal Values
This SDK makes use of the spryker/decimal-object package.
All monetary amounts are represented as as Spryker\DecimalObject\Decimal
, so it is recommended that you refer to
their documentation.
use Spryker\DecimalObject\Decimal;
$this->assertEquals(Decimal::create('41.94'), $invoice->amount->amount);