Source Code:
(back to article)
<?php // Round a number to a specified precision using the round() function $result = round(3.14159, 2); // Output the result echo $result; ?>
Result:
Report an issue