Php program to print the round of number

A Php program to print the round of number. In this program we can print the number with rounded value as output.  The round() method in PHP has three parameters: number, precision, and mode, the latter two of which are optional. The rounded value of the argument supplied is returned by the round() method.

<?php
echo(round(1.30) . "<br>");
echo(round(0.60) . "<br>");
?>

 

Output:

1

1