101
MySQL ABS() Function
The abs() is a Math function of MySQL. This function is used to get the absolute value of the given number.
Syntax
Parameters:
num: It is the number to get absolute value.
Returns
This function returns the absolute value of a number.
Example 1
Output:
Example 2
Output:
Example 3
Output:
Example 4
Output:
Example 5
Output:
Next TopicMySQL Math