Return True or False

What is the most simplified way to get flash to return True(1) if a variable is > 0, returns False(-1) if a variable is < 0, and returns nothing(0) if the variable is 0?