| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 24 Dec 2015 12:57 PM |
| I feel like a moron now. Why didn't I think.. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2015 01:01 PM |
heres a way
NegativeValue=function(Value) if Value~=math.abs(Value)then return true else return false end end
it returns true if the value is a negative value or false if it isnt
so print(NegativeValue(-1)) would print true |
|
|
| Report Abuse |
|
|