PHP Programming

Hands On No. 8 : Working with basic maths functions in PHP

Working with basic maths functions in PHP

                               

<?php

echo(pi());

echo(min(0, 150, 30, 20, -8, -200));

echo(max(0, 150, 30, 20, -8, -200));

echo(abs(-6.7));

echo(sqrt(64));

echo(round(0.60));

echo(round(0.49));

echo(rand(10, 100));

?>