Constructor Decimal128
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
Decimal128(decimal)
Initializes a new instance of the Decimal128 struct.
public Decimal128(decimal value)
Parameters
value
decimal
The value.
Decimal128(double)
Initializes a new instance of the Decimal128 struct.
public Decimal128(double value)
Parameters
value
double
The value.
Decimal128(float)
Initializes a new instance of the Decimal128 struct.
public Decimal128(float value)
Parameters
value
float
The value.
Decimal128(int)
Initializes a new instance of the Decimal128 struct.
public Decimal128(int value)
Parameters
value
int
The value.
Decimal128(long)
Initializes a new instance of the Decimal128 struct.
public Decimal128(long value)
Parameters
value
long
The value.
Decimal128(uint)
Initializes a new instance of the Decimal128 struct.
[CLSCompliant(false)]
public Decimal128(uint value)
Parameters
value
uint
The value.
Decimal128(ulong)
Initializes a new instance of the Decimal128 struct.
[CLSCompliant(false)]
public Decimal128(ulong value)
Parameters
value
ulong
The value.