Perl Programming/Keywords/abs
< Perl Programming | Keywords
The abs keyword[edit | edit source]
Function abs returns the absolute value of VALUE, or of $_, if VALUE is omitted.
Syntax[edit | edit source]
abs VALUE
abs
Examples[edit | edit source]