Math specific methods.
More...
Math specific methods.
Engine / Tool Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.1
- Date
- Creation: Jul 2017
-
Modification: Apr 2018
- Copyright
- 2017 - 2018 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Warning
- This library is not loaded with CaMykS initialisation.
◆ math_leastCommonMultiple()
math_leastCommonMultiple |
( |
|
$x, |
|
|
|
$y |
|
) |
| |
Compute least common multiple of 2 numbers.
- Parameters
-
- Returns
- integer
◆ math_greatestCommonDenominator()
math_greatestCommonDenominator |
( |
|
$x, |
|
|
|
$y |
|
) |
| |
Compute greatest common denominator of 2 numbers.
- Parameters
-
- Returns
- integer
◆ math_leastCommonMultipleArray()
math_leastCommonMultipleArray |
( |
|
$numbers = array() | ) |
|
Compute least common multiple of an array of numbers.
- Parameters
-
- Returns
- integer