Use ABS 2 : ABS « Math « SQL / MySQL






Use ABS 2

/*
mysql> select ABS(-4.05022);
+---------------+
| ABS(-4.05022) |
+---------------+
|       4.05022 |
+---------------+
1 row in set (0.01 sec)


*/

select ABS(-4.05022);

           
       








Related examples in the same category

1.Abstract value demo