round()
Returns the number rounded down to nearest integer value.
Syntax:
variable
= round(
number
)
Example:
print round( 2.78 )
print round( 2.35 )
will print on console value 2 and 3
Note that value
2.78 is rounded to 3 while value
2.35 is rounded to 2.