MathExt: 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.

Remarks

See Also

Project VBCorLib Overview Class MathExt Overview MathExt Properties MathExt Methods CRad e (get)