PHP Package: prestashop/decimal
This PHP library provides decimal handling functions for precise calculations in PrestaShop applications.
Package Description
The PrestaShop Decimal library offers a comprehensive set of tools for accurate decimal arithmetic operations. It ensures precise results in financial calculations, tax calculations, and other scenarios where precision is crucial. With this library, developers can avoid common floating-point arithmetic issues and maintain accuracy in their applications.
Download Latest Version: 1.5.0

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/prestashop/decimal/lib_version/autoload.php';
use PrestaShop\Decimal\DecimalCalculator;
use PrestaShop\Decimal\DecimalFormatter;
use PrestaShop\Decimal\DecimalValidator;
use PHPUnit\Framework\TestCase;
use Sebastian\Diff\Diff;
use Psr\Log\LoggerInterface;
$obj = new PrestaShop\Decimal\DecimalCalculator();
echo "✅ Example created successfully.";
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.