BigInteger: Subtract

Subtract

Subtracts a value to this instance of BigInteger.



 Public Function Subtract(
	  ByVal Value As BigInteger ) As BigInteger

Parameters

Value
[ByVal] BigInteger. A numeric representation of the value to be subtracted to this instance.

Return Values

BigInteger -  A new instance of BigInteger containing the differenced value.

Remarks

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.Subtract(BInt(150))
 Debug.Print b.ToString

 ' This outputs the following:
 -50
 

See Also

Project CorLib Overview

Class BigInteger Overview