Round

round( a )

Returns a rounded to the nearest integer.

Description

round( a )

Returns the value of a rounded to the nearest integer, or away from zero if the fraction is 0.5.

Parameters

a Value

Return value

This function returns a rounded to the nearest integer.

Example usage

round(7.89)

Returns 8.