Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock
example.php
phpdoc.phar
phpunit.xml

README.md

PHP Easy Math

Build Status

A simple library to do math for you

PHP Easy Math provides two classes containing two methods each. The Addition class provides the add() method which takes two paramters and returns the sum. The Addition class also contains the sum() method that will take any number of floats and return the sum. The Subtraction class provides a single subtract() class that takes two parameters and will return the difference of the supplied parameters.

Installation

Using Composer:

composer require svpernova/php-easy-math

Usage

See example.php

Getting Help

Please open a new Github issue detailing your problem.

Contributing

Pull requests welcome, however since this library was built for demonstration purposes only pull requests may not be merged in an effort to keep the library basic and easy to understand.

You can’t perform that action at this time.