coding-ninja / calculate
Do some basic calculations
dev-master
2020-09-10 07:15 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-10 20:36:28 UTC
README
To install this package run the following command
composer require coding-ninja/calculate=dev-master
Load the file into your php project by following code
require_once __DIR__ . './vendor/autoload.php';
use Calculation\Calculate;
Following methods are available in this package
To calculate the area
Calculate::area(height,width)
To calculate the radius
Calculate::radius(diameter)
To calculate the percentage
Calculate::percentage(total_marks,obtained_marks)