Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::

Method abs()


Method abs

float abs(float f)
int abs(int f)
object abs(object f)

Description

Return the absolute value for f . If f is an object it must implement lfun::`< and unary lfun::`- .