gmp_div_q

gmp_div_q

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

gmp_div_qDivide numbers

Description

GMP gmp_div_q ( GMP $a , GMP $b [, int $round = GMP_ROUND_ZERO ] )

Divides a by b and returns the integer result.

Parameters

a

The number being divided.

Either a GMP number resource