mergimu/calculator

Test laravel package

1.0.2 2020-07-16 10:19 UTC

This package is auto-updated.

Last update: 2024-05-16 20:18:44 UTC


README

Latest Version on Packagist

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require mergimu/calculator

Usage

use MergimU\Calculator\Facades\Calculator;
Calculator::initialValue(number)->add(number)->getResult()

Available Methods

intitalValue(number -> default = 0)
add(number)
subtract(number)
multiply(number)
square()
clear()
getResult()

Security

If you discover any security related issues, please email mergimuka1@gmail.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.