DecimalN Structure

Represents a decimal floating-point number.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[SerializableAttribute]
public readonly struct DecimalN : INumericExtended<DecimalN>, 
	INumeric<DecimalN>, IComparable, IComparable<DecimalN>, 
	IEquatable<DecimalN>, IFormattable, IProvider<IBinaryIO<DecimalN>>, 
	IProvider<IConvert<DecimalN>>, IProvider<IMath<DecimalN>>, 
	IProvider<INumericBitConverter<DecimalN>>, IProvider<INumericRandom<DecimalN>>, 
	IProvider<INumericStatic<DecimalN>>, IProvider<IVariantRandom<DecimalN>>, 
	ISerializable, IConvertible, IProvider<IConvertExtended<DecimalN>>
Inheritance
Object    ValueType    DecimalN
Implements
INumericDecimalN, INumericExtendedDecimalN, IProviderIBinaryIODecimalN, IProviderIConvertDecimalN, IProviderIMathDecimalN, IProviderINumericBitConverterDecimalN, IProviderINumericRandomDecimalN, IProviderINumericStaticDecimalN, IProviderIVariantRandomDecimalN, IProviderIConvertExtendedDecimalN, IComparable, IComparableDecimalN, IConvertible, IEquatableDecimalN, IFormattable, ISerializable

Methods

Operators

Fields

Extension Methods

ToTypeDefault Converts the value of this instance to an Object of the specified Type by calling one of the named conversions from IConvertible, such as ToChar(IFormatProvider) or ToDouble(IFormatProvider).
(Defined by ConvertibleExtensions)

Explicit Interface Implementations

IConvertibleGetTypeCodeReturns the TypeCode for this instance.
IConvertibleToBooleanConverts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
IConvertibleToByteConverts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToCharConverts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
IConvertibleToDateTimeConverts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
IConvertibleToDecimalConverts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
IConvertibleToDoubleConverts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToInt16Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt32Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt64Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSByteConverts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSingleConverts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToTypeConverts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
IConvertibleToUInt16Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt32Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt64Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
INumericDecimalNAdd Computes the sum of the current value and the specified value.
INumericDecimalNBitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
INumericDecimalNDivide Divides the current value by the specified value.
INumericDecimalNIsGreaterThan Determines whether the current value is greater than the specified value.
INumericDecimalNIsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
INumericDecimalNIsLessThan Determines whether the current value is less than the specified value.
INumericDecimalNIsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
INumericDecimalNLeftShift

Shifts the current value left by the specified number of bits.

Discards the high-order bits that are outside the range of the result type and sets the low-order empty bit positions to zero.

INumericDecimalNLogicalAnd Computes the bitwise logical AND of the current value and the specified value.
INumericDecimalNLogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
INumericDecimalNLogicalOr Computes the bitwise logical OR of the current value and the specified value.
INumericDecimalNMultiply Computes the product of the current value and the specified value.
INumericDecimalNNegative Computes the numeric negation of the current value.
INumericDecimalNPositive Returns the current value.
INumericDecimalNRemainder Computes the remainder after dividing the current value by the specified value.
INumericDecimalNRightShift

Shifts the current value right by the specified number of bits.

Performs an signed (arithmetic) shift if TSelf is signed; otherwise sets the high-order bits to zero. Discards the low-order bits.

INumericDecimalNSubtract Subtracts the specified value from the current value.
IProviderIConvertDecimalNGetInstance Returns an instance of T.
IProviderIConvertExtendedDecimalNGetInstance Returns an instance of T.
IProviderIMathDecimalNGetInstance Returns an instance of T.
IProviderINumericBitConverterDecimalNGetInstance Returns an instance of T.
IProviderINumericRandomDecimalNGetInstance Returns an instance of T.
IProviderINumericStaticDecimalNGetInstance Returns an instance of T.
IProviderIBinaryIODecimalNGetInstance Returns an instance of T.
IProviderIVariantRandomDecimalNGetInstance Returns an instance of T.
ISerializableGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.

See Also