Advertisement
SirBaconBitz

Untitled

May 24th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. function checkpos( num )
  2.   number = tostring(num)
  3.   if number:find("-") then
  4.     return "neg"
  5.   else
  6.     return "pos"
  7.   end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement