Round numbers with normatives like ABNT NBR 5891.
src/
tests/
Via Composer
$ composer require fhferreira/round
use Fhferreira\Round\AbntNbr5891;
echo AbntNbr5891::round(12.744623);
// it should echo 12.74
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email flaviometalvale@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.