+ 1
Why we use abs()?
.
3 Answers
+ 8
To get the absolute value of a number. For example, abs(50) = 50 and abs(-50) = 50.
+ 11
abs actually stands for 'absolute'. The function returns the absolute value of its parameter.
0
thank's @Hatsy Rei && @Krishna Teja Yeluripati