Pergunta de entrevista da empresa Microsoft

Round a float to the nearest integer value within using any other functions