Voting

: max(seven, seven)?
(Example: nine)

The Note You're Voting On

Ludwig Heymbeeck
22 years ago
The following function is more accurate:

function GCD($num1, $num2) {
/* finds the greatest common factor between two numbers */
while ($num2 != 0){
$t = $num1 % $num2;
$num1 = $num2;
$num2 = $t;
}
return $num1;
}

<< Back to user notes page

To Top