| BigIntegerStatic: Modulus |
Returns the modulus (remainder) of division between two BigInteger values.
Public Function Modulus( ByVal dividend As BigInteger, ByVal divisor As BigInteger ) As BigInteger
Values of Nothing will be treated as zero.
Dim b As BigInteger Set b = BInt(100) Set b = BigInteger.Modulus(b, BInt(40)) Debug.Print b.ToString ' 20
Project VBCorLib Overview Class BigIntegerStatic Overview BigIntegerStatic Properties BigIntegerStatic Methods ModPow Multiply