BigIntegerStatic: Add

Add

Adds two BigInteger value instances together, returning the sum.



 Public Function Add(
	  ByVal x As BigInteger,
	  ByVal y As BigInteger ) As BigInteger

Parameters

x
[ByVal] BigInteger. The augend to be added to.
y
[ByVal] BigInteger. The addend to add to the augend.

Return Values

BigInteger -  The sum of the two values.

Remarks

Values of Nothing will be treated as zero.

 Dim b As BigInteger
 Set b = BigInteger.Add(BInt(100), BInt(150))
 Debug.Print b.ToString ' 250
 

See Also

Project VBCorLib Overview Class BigIntegerStatic Overview BigIntegerStatic Properties BigIntegerStatic Methods Absolute AndBits