BigIntegerStatic: Divide

Divide

Divides one BigInteger value by another, returning the quotient.



 Public Function Divide(
	  ByVal Dividend As BigInteger,
	  ByVal Divisor As BigInteger ) As BigInteger

Parameters

Dividend
[ByVal] BigInteger. The BigInteger value to be divided.
Divisor
[ByVal] BigInteger. The BigInteger value to divide by.

Return Values

BigInteger -  The quotient of the division.

Remarks

Values of Nothing will be treated as zero.

Integer division is applied, there is no rounding values. This method discards the remainder.

 Dim b As BigInteger
 Set b = BigInteger.Divide(BInt(100), BInt(40))
 Debug.Print b.ToString ' 2
 

See Also

Project CorLib Overview

Class BigIntegerStatic Overview