Mistři v programování na #hovnokod

PHP #1124

user-defined "function" as parody of round()

//$num = 123.456
list($num_a, $num_b) = explode(".", $num);
if($num_b[0] >= 5){
    $num = $num_a + 1;
}
else{
    $num = $num_a;
}

Anonymous,