BigIntegerStatic: Subtract

Subtract

Subtracts one BigInteger value from another, returning the difference.



 Public Function Subtract(
	  ByVal Left As BigInteger,
	  ByVal Right As BigInteger ) As BigInteger

Parameters

Left
[ByVal] BigInteger. The minuend value to be subracted from.
Right
[ByVal] BigInteger. The subtrahend value to subtract from the minuend value.

Return Values

BigInteger -  The difference of the two values.

Remarks

Values of Nothing will be treated as zero.

 Dim b As BigInteger
 Set b = BigInteger.Subtract(BInt(100), BInt(150))
 Debug.Print b.ToString ' -50
 

See Also

Project CorLib Overview

Class BigIntegerStatic Overview