PHP » GoLang |
login |
register |
about
|
round(PHP 4, PHP 5, PHP 7) round — Rounds a float Description
float round
( float
$val
[, int $precision = 0
[, int $mode = PHP_ROUND_HALF_UP
]] )
Returns the rounded value of
Parameters
Return ValuesThe rounded value Examples
Example #1 round() examples
<?php
Example #2
<?php Example #3
<?php Changelog
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|