This package is based on mattiasgeniar/php-percentages and provides a fluent interface for percentage operations with PHP. It comes with support for PHP 8.0 and SafePercentage
class which can be used in cases where you know a Division by zero
exception could be thrown but you just want 0 to be returned in those cases.
composer require konceiver/percentage
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover a security vulnerability within this package, please send an e-mail to security@konceiver.dev. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
Better Number Formatter is an open-sourced software licensed under the MIT.