Perl Programming/Keywords/abs
The abs keyword
Function abs returns the absolute value of VALUE, or of $_, if VALUE is omitted.
Syntax
abs VALUE
abs
Examples
print abs(-21.7*.36);
returns with
7.812
Function abs returns the absolute value of VALUE, or of $_, if VALUE is omitted.
abs VALUE
abs
print abs(-21.7*.36);
7.812