BigInteger Constructor (Decimal)
Initializes a new instance of the BigInteger structure using a Decimal value.
Assembly: System.Numerics (in System.Numerics.dll)
The result of calling this constructor is identical to explicitly assigning a Decimal value to a BigInteger variable.
Calling this constructor can cause data loss; any fractional part of value is truncated when instantiating a BigInteger object.
The following example illustrates the use of the BigInteger(Decimal) constructor to instantiate a BigInteger object. It defines an array of Decimal values, and then passes each value to the BigInteger(Decimal) constructor. Note that the Decimal value is truncated instead of rounded when it is assigned to the BigInteger object.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.