min() public static méthode

Increase the number to the minimum if below threshold.
public static min ( integer $number, integer $min ) : integer
$number integer
$min integer
Résultat integer
Exemple #1
0
 public function testMin()
 {
     is(50, Vars::min(12, 50));
     is(55, Vars::min(55, 50));
     is(123, Vars::min(123, 50));
 }