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 | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
Equals(Decimal128) | Indicates whether the current object is equal to another object of the same type. | |
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 | Returns the hash code for this instance. (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 | Gets the Type of the current instance. (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 |
Gets a value indicating whether this instance 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 | Returns the fully qualified type name of this instance. (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.) |