protected function expectNumberNotZeroForDivision($number, $message = '')
    {
        $this->expectValidNumber($number, $message);
        if ($number == 0) {
            throw new DivideByZeroException($message);
        }
    }
protected function expectNumberNotZeroForDivision($number, $message = '')
    {
        $this->expectValidNumber($number, $message);
        if ($number == 0) {
            throw new DivideByZeroException($message);
        }
    }
protected function expectNumberNotZeroForDivision ( $ number , $ message = '' ) { $ this -> expectValidNumber ( $ number , $ message ) ; if ( $ number == 0 ) { throw new DivideByZeroException ( $ message ) ; } }
Expects a number not to be zero when using for division.

@param        $number
@param string $message

@throws \Stillat\Common\Exceptions\Arithmetic\DivideByZeroException
@throws \Stillat\Common\Exceptions\Arithmetic\NotFiniteNumberException
Expects a number not to be zero when using for division .