hearot / angleoperations
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP class that does arithmetic operations with degrees, primes and seconds.
v1.0
2019-01-03 15:34 UTC
Requires
- php: >=5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.12
This package is auto-updated.
Last update: 2020-01-31 00:58:39 UTC
README
PHP class that does arithmetic operations with degrees, primes and seconds.
Installation
You can easily install that module using Composer:
composer require hearot/angleoperations
Or, if you want to upgrade the module:
composer update
How to use
AngleOperations is a static class, then you can call it in this way, for example:
$addition = \hearot\AngleOperations\AngleOperations::addition('86 degrees 40 primes 30 seconds', '70 degrees 51 primes 17 seconds');
Methods
addition()
,substration()
,multiplication()
,division()