Rounded variable

Hi guys,
I have a question regarding my project.
So, I have var distance:Number = 0; I need this variable to show only rounded numbers.
The ‘distance’ variable is constantly increasing with 0.05. So if ‘distance’ is currently at, let’s say 20.324561, I want it to show 20, if at 20.624561, then show 21 and so on…

Any help is highly appreciated! :slight_smile:
Thanks!