public function less($num)
    {
        self::mustBeNumeric($num, 'Tested number');

        if(is_object($num)){
            return $this->value < $num->value;
        } else {
            return $this->value < $num;
        }
    }
public function less($num)
    {
        self::mustBeNumeric($num, 'Tested number');

        if(is_object($num)){
            return $this->value < $num->value;
        } else {
            return $this->value < $num;
        }
    }
public function less ( $ num ) { self :: mustBeNumeric ( $ num , 'Tested number' ) ; if ( is_object ( $ num ) ) { return $ this -> value < $ num -> value ; } else { return $ this -> value < $ num ; } }
Checks whether current number is less than given one.

This is equivalent of `$n < 3`. So, for example:

$n = new N(M_PI);
$n->less(4); // true
$n->less(3); // false

@see N::lt() An alias
@param  mixed   $num N or primitive numeric value
@return boolean
@throws \InvalidArgumentException If argument is not numeric-like
Checks whether current number is less than given one .