BigIntegerStatic: Negate

Negate

Returns the opposite signed value of this BigInteger instance.



 Public Function Negate(
	  ByVal Value As BigInteger ) As BigInteger

Parameters

Value
[ByVal] BigInteger. The value to be negated.

Return Values

BigInteger -  Returns a BigInteger instance containing the opposite signed value.

Remarks

Negative values are represented as a twos-complement number, unlike other systems used to represent a negative value. Any negation requires the twos-complement algorithm to be applied to the number. This keeps in step with how users of VB already deal with negative numbers, helping to ease the transition to using BigInteger values.

If Value is Nothing it will be treated as zero.

See Also

Project CorLib Overview

Class BigIntegerStatic Overview