PHP useful math functions you should know

#php #course #tutorial 00:00:00 math functions 00:07:56 exercise //$x = $_POST[“x“]; //$y = $_POST[“y“]; //$z = $_POST[“z“]; //$total = null; //$total = abs($x); //$total = round($x); //$total = ceil($x); //$total = floor($x); //$total = max($x, $y, $z); //$total = min($x, $y, $z); //$total = sqrt($x); //$total = pow($x, $y); //$total = pi(); //$total = rand(1, 6); echo $total;
Back to Top