Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Quotient |
||
8 | { |
||
9 | /** |
||
10 | * QUOTIENT. |
||
11 | * |
||
12 | * QUOTIENT function returns the integer portion of a division. Numerator is the divided number |
||
13 | * and denominator is the divisor. |
||
14 | * |
||
15 | * Excel Function: |
||
16 | * QUOTIENT(value1,value2) |
||
17 | * |
||
18 | * @param mixed $numerator Expect float|int |
||
19 | * @param mixed $denominator Expect float|int |
||
20 | * |
||
21 | * @return int|string |
||
22 | */ |
||
23 | 13 | public static function funcQuotient($numerator, $denominator) |
|
36 |