hearot / angleoperations
PHP class that does arithmetic operations with degrees, primes and seconds.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/hearot/angleoperations
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()