Decimal128 Methods |
The Decimal128 type exposes the following members.
Name | Description | |
---|---|---|
Compare |
Compares two specified Decimal128 values and returns an integer that indicates whether the first value
is greater than, less than, or equal to the second value.
| |
CompareTo | ||
Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
Equals(Decimal128) | ||
Equals(Decimal128, Decimal128) |
Determines whether the specified Decimal128 instances are considered equal.
| |
FromComponents |
Creates a new Decimal128 value from its components.
| |
FromIEEEBits |
Creates a new Decimal128 value from the IEEE encoding bits.
| |
GetExponent |
Gets the exponent of a Decimal128 value.
| |
GetHashCode | (Overrides ValueTypeGetHashCode.) | |
GetIEEEHighBits |
Gets the high order 64 bits of the binary representation of this instance.
| |
GetIEEELowBits |
Gets the low order 64 bits of the binary representation of this instance.
| |
GetSignificandHighBits |
Gets the high bits of the significand of a Decimal128 value.
| |
GetSignificandLowBits |
Gets the high bits of the significand of a Decimal128 value.
| |
GetType | (Inherited from Object.) | |
IsInfinity |
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
| |
IsNaN |
Returns a value indicating whether the specified number is not a number.
| |
IsNegative |
Returns a value indicating whether the specified number is negative.
| |
IsNegativeInfinity |
Returns a value indicating whether the specified number evaluates to negative infinity.
| |
IsPositiveInfinity |
Returns a value indicating whether the specified number evaluates to positive infinity.
| |
IsQNaN |
Returns a value indicating whether the specified number is a quiet not a number.
| |
IsSNaN |
Returns a value indicating whether the specified number is a signaled not a number.
| |
IsZero |
Returns a value indicating whether the specified number is zero.
| |
Negate |
Negates the specified x.
| |
Parse |
Converts the string representation of a number to its Decimal128 equivalent.
| |
ToByte |
Converts the value of the specified Decimal128 to the equivalent 8-bit unsigned integer.
| |
ToDecimal |
Converts the value of the specified Decimal128 to the equivalent Decimal.
| |
ToDouble |
Converts the value of the specified Decimal128 to the equivalent Double.
| |
ToInt16 |
Converts the value of the specified Decimal128 to the equivalent 16-bit signed integer.
| |
ToInt32 |
Converts the value of the specified Decimal128 to the equivalent 32-bit signed integer.
| |
ToInt64 |
Converts the value of the specified Decimal128 to the equivalent 64-bit signed integer.
| |
ToSByte |
Converts the value of the specified Decimal128 to the equivalent 8-bit signed integer.
| |
ToSingle |
Converts the value of the specified Decimal128 to the equivalent Single.
| |
ToString | (Overrides ValueTypeToString.) | |
ToUInt16 |
Converts the value of the specified Decimal128 to the equivalent 16-bit unsigned integer.
| |
ToUInt32 |
Converts the value of the specified Decimal128 to the equivalent 32-bit unsigned integer.
| |
ToUInt64 |
Converts the value of the specified Decimal128 to the equivalent 64-bit unsigned integer.
| |
TryParse |
Converts the string representation of a number to its Decimal128 equivalent. A return value indicates whether the conversion succeeded or failed.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |