GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch dev (ec2832)
by t
03:09
created

QMAT::quotient()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
/**
3
 * Trait MathAndTrigonometry-Q
4
 *
5
 * @link https://www.icy2003.com/
6
 * @author icy2003 <[email protected]>
7
 * @copyright Copyright (c) 2017, icy2003
8
 */
9
namespace icy2003\php\icomponents\excel\mathAndTrigonometry;
10
11
/**
12
 * MathAndTrigonometry-Q
13
 */
14
trait QMAT
15
{
16
    /**
17
     * 返回除法的整数部分。 要放弃除法的余数时,可使用此函数
18
     *
19
     * @param double $numberator 必需。 被除数
20
     * @param double $denominator 必需。 除数
21
     *
22
     * @return integer
23
     */
24 1
    public static function quotient($numberator, $denominator)
25
    {
26 1
        return (int) ($numberator / $denominator);
27
    }
28
}
29