MySQL SIGN() FunctionThe sign() is a Math function of MySQL. This function is used to get a sign of the given number. If the number is less than 0, this function returns -1. If the number is 0 or 1 or greater than 0, this function returns 0. SyntaxParameter:number: It is the number for getting a sign. Returns:This function returns the sign of the argument. Example 1Output: Example 2Output: Example 3Output: Next TopicMySQL Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India