MySQL ABS() FunctionThe abs() is a Math function of MySQL. This function is used to get the absolute value of the given number. SyntaxParameters:num: It is the number to get absolute value. ReturnsThis function returns the absolute value of a number. Example 1Output: Example 2Output: Example 3Output: Example 4Output: Example 5Output:
Next TopicMySQL Math
|