Click or drag to resize
Decimal128 Methods

The Decimal128 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCompare
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.
Public methodCompareTo
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.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Decimal128)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberEquals(Decimal128, Decimal128)
Determines whether the specified Decimal128 instances are considered equal.
Public methodStatic memberFromComponents
Creates a new Decimal128 value from its components.
Public methodStatic memberFromIEEEBits
Creates a new Decimal128 value from the IEEE encoding bits.
Public methodStatic memberGetExponent
Gets the exponent of a Decimal128 value.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetIEEEHighBits
Gets the high order 64 bits of the binary representation of this instance.
Public methodGetIEEELowBits
Gets the low order 64 bits of the binary representation of this instance.
Public methodStatic memberGetSignificandHighBits
Gets the high bits of the significand of a Decimal128 value.
Public methodStatic memberGetSignificandLowBits
Gets the high bits of the significand of a Decimal128 value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsInfinity
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
Public methodStatic memberIsNaN
Returns a value indicating whether the specified number is not a number.
Public methodStatic memberIsNegative
Returns a value indicating whether the specified number is negative.
Public methodStatic memberIsNegativeInfinity
Returns a value indicating whether the specified number evaluates to negative infinity.
Public methodStatic memberIsPositiveInfinity
Returns a value indicating whether the specified number evaluates to positive infinity.
Public methodStatic memberIsQNaN
Returns a value indicating whether the specified number is a quiet not a number.
Public methodStatic memberIsSNaN
Returns a value indicating whether the specified number is a signaled not a number.
Public methodStatic memberIsZero
Gets a value indicating whether this instance is zero.
Public methodStatic memberNegate
Negates the specified x.
Public methodStatic memberParse
Converts the string representation of a number to its Decimal128 equivalent.
Public methodStatic memberToByte
Converts the value of the specified Decimal128 to the equivalent 8-bit unsigned integer.
Public methodStatic memberToDecimal
Converts the value of the specified Decimal128 to the equivalent Decimal.
Public methodStatic memberToDouble
Converts the value of the specified Decimal128 to the equivalent Double.
Public methodStatic memberToInt16
Converts the value of the specified Decimal128 to the equivalent 16-bit signed integer.
Public methodStatic memberToInt32
Converts the value of the specified Decimal128 to the equivalent 32-bit signed integer.
Public methodStatic memberToInt64
Converts the value of the specified Decimal128 to the equivalent 64-bit signed integer.
Public methodStatic memberToSByte
Converts the value of the specified Decimal128 to the equivalent 8-bit signed integer.
Public methodStatic memberToSingle
Converts the value of the specified Decimal128 to the equivalent Single.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodStatic memberToUInt16
Converts the value of the specified Decimal128 to the equivalent 16-bit unsigned integer.
Public methodStatic memberToUInt32
Converts the value of the specified Decimal128 to the equivalent 32-bit unsigned integer.
Public methodStatic memberToUInt64
Converts the value of the specified Decimal128 to the equivalent 64-bit unsigned integer.
Public methodStatic memberTryParse
Converts the string representation of a number to its Decimal128 equivalent. A return value indicates whether the conversion succeeded or failed.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also