coding-ninja / calculate
Do some basic calculations
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/coding-ninja/calculate
This package is auto-updated.
Last update: 2025-10-10 18:35:39 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)