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