• Rounding to whole numbers
    3 replies, posted
[IMG]http://gyazo.com/93ca9237a081b146866d02988cabf141.png?1328392642[/IMG] This is the HUD bar I use to display a players amount of EXP, how can i make it round to whole numbers instead of a long decimal like so?
math.Round()
math.Round( x )
math.floor(x) is probably better for this scenario though, otherwise people will sometimes have 100% EXP without leveling up.
Sorry, you need to Log In to post a reply to this thread.