The round() function of math object returns nearest rounded integer. Use it for example to get nearest rounded integer.
Syntax