+ 1

Why we use abs()?

.

8th Apr 2017, 4:23 PM
Nusyba A.Allatief A.Alazeez Mohammed
Nusyba A.Allatief A.Alazeez Mohammed - avatar
3 Answers
+ 8
To get the absolute value of a number. For example, abs(50) = 50 and abs(-50) = 50.
8th Apr 2017, 4:24 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 11
abs actually stands for 'absolute'. The function returns the absolute value of its parameter.
8th Apr 2017, 4:49 PM
Hatsy Rei
Hatsy Rei - avatar
0
thank's @Hatsy Rei && @Krishna Teja Yeluripati
10th Apr 2017, 9:35 AM
Nusyba A.Allatief A.Alazeez Mohammed
Nusyba A.Allatief A.Alazeez Mohammed - avatar