https://profilpelajar.com/Nearest_integer_function