BigInteger: Modulus |
Performs a modulus operation, returning the remainder.
Public Function Modulus( ByVal Divisor As BigInteger ) As BigInteger
This method accepts a BigInteger, one of VBs numeric values or a string to be parsed.
Dim b As BigInteger Set b = BInt(100) Set b = b.Modulus(BInt(40)) Debug.Print b.ToString ' This outputs the following: 20