how to take absolute value in php code example Example: php absolute value abs ( mixed $number ) : number