library math
Allows to compute the least common multiple and the greatest common divisor.
lukaszmakuch/math
Allows to compute the least common multiple and the greatest common divisor.
- Saturday, March 12, 2016
- by lukaszmakuch
- Repository
- 1 Watchers
- 0 Stars
- 63 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Math
Allows to compute:
- the least common multiple
- the greatest common divisor, (*1)
Usage
<?php
use lukaszmakuch\Math;
//the least common multiple
echo Math::lcm(3, 4); //12
//the greatest common divisor
echo Math::gcd(8, 12); //4
Getting the library
$ composer require lukaszmakuch/math
dev-master
9999999-dev
Allows to compute the least common multiple and the greatest common divisor.
Sources
Download
MIT
The Development Requires
v0.1
0.1.0.0
Allows to compute the least common multiple and the greatest common divisor.
Sources
Download
MIT
The Development Requires