• timer.HasLeft rounding
    4 replies, posted
I want to round my timer.HasLeft on my hud, how would i do so?
[URL="http://wiki.garrysmod.com/page/math/Round"]math.Round(int)[/URL]
[URL="http://wiki.garrysmod.com/page/math/floor"]math.floor[/URL] will work if you want to round down and math.Round will round it up.
math.Round rounds a number up like you normally would math.floor only rounds down math.ceil only rounds up
Thanks
Sorry, you need to Log In to post a reply to this thread.