psychoanima Posted July 5, 2016 Share Posted July 5, 2016 I am analyzing some scripts and I found math.abs but I can't find explanation in API reference. Help? Quote Link to comment Share on other sites More sharing options...
psychoanima Posted July 5, 2016 Author Share Posted July 5, 2016 ooooh, I get it. It's lua function... I found an explanation. Sry for this stupid question (I suck in Lua, need to fix that) 1 Quote Link to comment Share on other sites More sharing options...
Elyzera Posted July 5, 2016 Share Posted July 5, 2016 math.abs Return the absolute, or non-negative value, of a given value. > = math.abs(-100) 100 > = math.abs(25.67) 25.67 > = math.abs(0) 0 http://lua-users.org/wiki/MathLibraryTutorial 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.