CorMath: DivRem

DivRem

Divides two integers, placing the remainder in a supplied variable.



 Public Function DivRem(
	  ByVal a As Long,
	  ByVal b As Long,
	  ByRef Remainder As Long ) As Long

Parameters

a
[ByVal] Long. The dividend.
b
[ByVal] Long. The divosor.
Remainder
[ByRef] Long. The variable to place the remainder of the division.

Return Values

Long -  The quotient of the division.

See Also

Project CorLib Overview

Class CorMath Overview