SFramework expands upon some of the built-in LUA math library functionality. Here, you can find reference for these additions.
Returns the sign of the given value, either 1 if positive or -1 if negative. This could be useful if needing to do some numerical logic based on whether or not the given value is above or below zero
value
- number
(required) the value to check
local mySign = math.sign(5) --should return 1