min() public static method

Increase the number to the minimum if below threshold.
public static min ( integer $number, integer $min ) : integer
$number integer
$min integer
return integer
Ejemplo n.º 1
0
 public function testMin()
 {
     is(50, Vars::min(12, 50));
     is(55, Vars::min(55, 50));
     is(123, Vars::min(123, 50));
 }