View Single Post
09-28-10, 08:54 AM   #3
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
If you want to round up the value you can use math.ceil, or to round down the value you can use math.floor (http://lua-users.org/wiki/MathLibraryTutorial).

If you want to print a formatted value, but retain the actual value in the parameter, you can use string.format (http://www.lua.org/pil/20.html).