SQL
MySQL SIGN() Function
Return the sign of a number: