fhferreira / round
Round numbers with normatives
Installs: 36 889
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: ~7.2
Requires (Dev)
- phpunit/phpunit: >=8.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-12-04 15:49:05 UTC
README
Round numbers with normatives like ABNT NBR 5891.
Structure
src/
tests/
Install
Via Composer
$ composer require fhferreira/round
Usage
use Fhferreira\Round\AbntNbr5891; echo AbntNbr5891::round(12.744623); // it should echo 12.74
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email flaviometalvale@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.