Represents a Decimal128 value.
Namespace: MongoDB.BsonMongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax[SerializableAttribute] public struct Decimal128 : IConvertible, IComparable<Decimal128>, IEquatable<Decimal128>
<SerializableAttribute> Public Structure Decimal128 Implements IConvertible, IComparable(Of Decimal128), IEquatable(Of Decimal128)
[<SealedAttribute>] [<SerializableAttribute>] type Decimal128 = struct interface IConvertible interface IComparable<Decimal128> interface IEquatable<Decimal128> end
The Decimal128 type exposes the following members.
Constructors Properties Name Description MaxValueGets the maximum value.
MinValueGets the minimum value.
NegativeInfinityRepresents negative infinity.
OneRepresents one.
PositiveInfinityRepresents positive infinity.
QNaNRepresents a value that is not a number.
SNaNRepresents a value that is not a number and raises errors when used in calculations.
ZeroRepresents zero.
Top Methods Name Description CompareCompares 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.
CompareToCompares 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.
FromComponentsCreates a new Decimal128 value from its components.
FromIEEEBitsCreates a new Decimal128 value from the IEEE encoding bits.
GetExponentGets the exponent of a Decimal128 value.
GetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) GetIEEEHighBitsGets the high order 64 bits of the binary representation of this instance.
GetIEEELowBitsGets the low order 64 bits of the binary representation of this instance.
GetSignificandHighBitsGets the high bits of the significand of a Decimal128 value.
GetSignificandLowBitsGets the high bits of the significand of a Decimal128 value.
GetTypeGets the
Typeof the current instance.
(Inherited from Object.) IsInfinityReturns a value indicating whether the specified number evaluates to negative or positive infinity.
IsNaNReturns a value indicating whether the specified number is not a number.
IsNegativeReturns a value indicating whether the specified number is negative.
IsNegativeInfinityReturns a value indicating whether the specified number evaluates to negative infinity.
IsPositiveInfinityReturns a value indicating whether the specified number evaluates to positive infinity.
IsQNaNReturns a value indicating whether the specified number is a quiet not a number.
IsSNaNReturns a value indicating whether the specified number is a signaled not a number.
IsZeroReturns a value indicating whether the specified number is zero.
NegateNegates the specified x.
ParseConverts the string representation of a number to its Decimal128 equivalent.
ToByteConverts the value of the specified Decimal128 to the equivalent 8-bit unsigned integer.
ToDecimalConverts the value of the specified
Decimal128to the equivalent
Decimal.
ToDoubleConverts the value of the specified
Decimal128to the equivalent
Double.
ToInt16Converts the value of the specified Decimal128 to the equivalent 16-bit signed integer.
ToInt32Converts the value of the specified Decimal128 to the equivalent 32-bit signed integer.
ToInt64Converts the value of the specified Decimal128 to the equivalent 64-bit signed integer.
ToSByteConverts the value of the specified Decimal128 to the equivalent 8-bit signed integer.
ToSingleConverts the value of the specified
Decimal128to the equivalent
Single.
ToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString.) ToUInt16Converts the value of the specified Decimal128 to the equivalent 16-bit unsigned integer.
ToUInt32Converts the value of the specified Decimal128 to the equivalent 32-bit unsigned integer.
ToUInt64Converts the value of the specified Decimal128 to the equivalent 64-bit unsigned integer.
TryParseConverts the string representation of a number to its Decimal128 equivalent. A return value indicates whether the conversion succeeded or failed.
Top Operators Extension Methods See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4