/** * @param NumberInterface $number * @return \AGmakonts\STL\Number\Integer */ public function modulo(NumberInterface $number) { return Integer::get($this->value() % $number->value()); }
/** * @param \AGmakonts\STL\Number\NumberInterface $number * * @return bool */ public function modulo(NumberInterface $number) { return self::get(bcmod($this->value(), $number->value())); }