round($number)
Rounds a number to the nearest whole number.
round($number)
Rounds a number to the nearest whole number.
Examples:
round(10.4px) => 10px
round(10.6px) => 11px
Parameters:
Returns:
Raises:
Designed by : w10schools
service@w10schools.com
Please login to continue.