ABS: Returns the absolute number of the given value, which is the value without its sign : ABS « Math Functions « SQL Server / T-SQL






ABS: Returns the absolute number of the given value, which is the value without its sign


1> -- Mathematical Functions
2> -- ABS: Returns the absolute number of the given value, which is the value without its sign.
3>
4> SELECT ABS(-321.22)
5> GO

-------
 321.22

(1 rows affected)
1>
           
       








Related examples in the same category

1.Case when with Mod and ABS()