fhferreira/round

Round numbers with normatives

1.1 2024-05-04 14:33 UTC

This package is auto-updated.

Last update: 2024-12-04 15:49:05 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.