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

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

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

This is equivalent of `$n <= 3`. For example;

$n = new N(3);
$n->lte(3); // true
$n->lte(4); // true
$n->lte(1); // false

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