PHP Package: prestashop/decimal
php library for precise decimal arithmetic operations and handling decimal numbers efficiently in prestashop applications
Package Description
Decimal is a PHP library designed to provide accurate and efficient decimal arithmetic operations, particularly suited for handling decimal numbers in PrestaShop applications. It ensures precise calculations and offers a reliable solution for managing decimal data types with ease and accuracy. With Decimal, developers can streamline their workflows, improve accuracy in financial calculations, and enhance precision in various numeric operations within PrestaShop environments.
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/1.5.0/loader.php';
use PrestaShop\Decimal\ClassName1;
$obj = new ClassName1();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.