Registry / utility / spryker-decimal-object

spryker-decimal-object

JSON →
library1.2.1phppackagistunverified

PHP decimal handling as value object

composer require spryker/decimal-object
INSTALL
IMPORT
SIG · SPRYKER-DECIMAL-OB
S
spryker-decimal-object
utilityphpv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Decimal
use Spryker\DecimalObject\Decimal;

Perform decimal arithmetic with value objects

use Spryker\DecimalObject\Decimal; $price = new Decimal('19.99'); $tax = new Decimal('0.20'); $total = $price->multiply($tax->add(1));
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
spryker-decimal-object — pip install spryker-decimal-object · libregistry