PHP 5.6.31 Released

Voting

Please answer this simple SPAM challenge: max(one, six)?
(Example: nine)

The Note You're Voting On

craft at ckdevelop dot org
3 years ago
function mround($val, $f=2, $d=6){
    return sprintf("%".$d.".".$f."f", $val);
}

echo mround(34.89999);  //34.90

<< Back to user notes page

To Top