Kinaxis interview question

Write a function to round to the nearest integer.