| BigInteger: DivRem |
Divides this value by the value, returning the quotient and remainding.
Public Function DivRem( ByVal Value As BigInteger, ByRef remainder As BigInteger ) As BigInteger
This method accepts a BigInteger, one of VBs numeric values or a string to be parsed.
Dim b As BigInteger Dim r As BigInteger Dim q As BigInteger Set b = BInt(100) Set q = b.DivRem(BInt(40), r) Debug.Print q.ToString ' 2 Debug.Print r.ToString ' 20
Project VBCorLib Overview Class BigInteger Overview BigInteger Properties BigInteger Methods Divide Equals