Constructors: BInt

BInt

Attempts to convert a value to a valid BigInteger instance.



 Public Function BInt(
	  ByRef Value As Variant ) As BigInteger

Parameters

Value
[ByRef] Variant. The value to be converted to BigInteger.

Return Values

BigInteger -  A new BigInteger instance representing the converted value.

Remarks

The follow datatypes are supported:
vbString
vbLong
vbInteger
vbByte
vbDoube
vbSingle
vbCurrency
vbDecimal
vbByte Array
Int64 BigInteger (returns same instance)
Nothing (returns BigInteger.Zero)

 Dim b As BigInteger
 Set b = BInt(12345)
 

See Also

Project CorLib Overview

Class Constructors Overview