NullableTypes Class Library

NullableDecimal Members

NullableDecimal overview

Public Static (Shared) Fields

MaxValue A constant representing the largest possible value of a NullableDecimal.
MinusOne Represents the number negative one (-1) that can be assigned to an instance of the NullableDecimal structure.
MinValue A constant representing the smallest possible value of a NullableDecimal.
Null Represents a Null value that can be assigned to an instance of the NullableDecimal structure. A Null is the absence of a value because missing, unknown, or inapplicable value. A Null should not be used to imply any other value (such as zero). Also any value (such as zero) should not be used to imply the absence of a value, that's why Null exists.
One Represents the number positive one (1) that can be assigned to an instance of the NullableDecimal structure.
Zero Represents a zero value that can be assigned to an instance of the NullableDecimal structure.

Public Static (Shared) Methods

Abs Computes absolute value of the specified NullableDecimal structure.
Add Computes the sum of the two specified NullableDecimal structures.
Ceiling Computes the smallest whole number greater than or equal to the specified NullableDecimal structure.
Divide Divides its first NullableDecimal operand by its second.
EqualsOverloaded. Compares two NullableDecimal structures to determine if they are equivalent.
Floor Rounds the specified NullableDecimal to the closest integer toward negative infinity.
GreaterThan Compares two instances of NullableDecimal structure to determine if the first is greater than the second.
GreaterThanOrEqual Compares two instances of NullableDecimal structure to determine if the first is greater than or equal to the second.
LessThan Compares two instances of NullableDecimal structure to determine if the first is less than the second.
LessThanOrEqual Compares two instances of NullableDecimal structure to determine if the first is less than or equal to the second.
Multiply Computes the product of the two specified NullableDecimal structures.
NotEquals Compares two NullableDecimal structures to determine if they are not equivalent.
Parse Converts the specified String representation of a number to its NullableDecimal equivalent.
Round Rounds a NullableDecimal value to a specified number of decimal places.
Sign Gets a value indicating the sign of a specified NullableDecimal structure.
Subtract Computes the subtraction of the two specified NullableDecimal structures.
Truncate Returns the integral digits of the specified NullableDecimal value to a specified while any fractional digits are discarded

Public Static (Shared) Operators

Addition Operator Computes the sum of the two specified NullableDecimal structures.
Division Operator Divides its first NullableDecimal operand by its second.
Equality Operator Compares two instances of NullableDecimal for equivalence.
Explicit NullableTypes.NullableBoolean to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableBoolean parameter to a NullableDecimal structure.
Explicit NullableTypes.NullableDecimal to System.Decimal ConversionOverloaded. Converts a NullableDecimal to a Decimal.
Explicit NullableTypes.NullableSingle to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableSingle parameter to a NullableDecimal structure.
Explicit NullableTypes.NullableString to NullableTypes.NullableDecimal ConversionOverloaded. Converts the specified NullableString parameter to a NullableDecimal structure.
Explicit NullableTypes.NullableDouble to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableDouble parameter to a NullableDecimal structure.
Greater Than Operator Compares two instances of NullableDecimal structure to determine if the first is greater than the second.
Greater Than Or Equal Operator Compares two instances of NullableDecimal structure to determine if the first is greater than or equal to the second.
Implicit System.Decimal to NullableTypes.NullableDecimal ConversionOverloaded. Converts the Decimal parameter to a NullableDecimal structure.
Implicit NullableTypes.NullableByte to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableByte parameter to a NullableDecimal structure.
Implicit NullableTypes.NullableInt16 to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableInt16 parameter to a NullableDecimal structure.
Implicit NullableTypes.NullableInt32 to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableInt32 parameter to a NullableDecimal structure.
Implicit NullableTypes.NullableInt64 to NullableTypes.NullableDecimal ConversionOverloaded. Converts the NullableInt64 parameter to a NullableDecimal structure.
Inequality Operator Compares two instances of NullableDecimal for equivalence.
Less Than Operator Compares two instances of NullableDecimal structure to determine if the first is less than the second.
Less Than Or Equal Operator Compares two instances of NullableDecimal structure to determine if the first is less than or equal to the second.
Multiplication Operator Computes the product of the two specified NullableDecimal structures.
Subtraction Operator Computes the subtraction of the two specified NullableDecimal structures.
Unary Negation Operator Negates the value of the specified NullableDecimal operand.

Public Instance Constructors

NullableDecimalOverloaded. Initializes a new instance of the NullableDecimal class.

Public Instance Properties

IsNull Indicates whether or not the value of the NullableDecimal structure is null.
IsPositive Indicates whether or not the value of the NullableDecimal structure is greater than zero.
Value Gets the value of the NullableDecimal structure. This property is read-only

Public Instance Methods

CompareTo Compares this NullableDecimal structure to a specified object and returns an indication of their relative values.
EqualsOverloaded. Compares two NullableDecimal structures to determine if they are equivalent.
GetHashCode Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
GetTypeCode Returns the TypeCode for value type NullableDecimal.
ToDouble Converts this NullableDecimal instance to a Double.
ToNullableBoolean Converts this NullableDecimal instance to a NullableBoolean.
ToNullableByte Converts this NullableDecimal instance to a NullableByte.
ToNullableDouble Converts this NullableDecimal instance to a NullableDouble.
ToNullableInt16 Converts this NullableDecimal instance to a NullableInt16.
ToNullableInt32 Converts this NullableDecimal instance to a NullableInt32.
ToNullableInt64 Converts this NullableDecimal instance to a NullableInt64.
ToNullableSingle Converts this NullableDecimal instance to a NullableSingle.
ToNullableString Converts this NullableDecimal structure to a NullableString structure.
ToString Converts this NullableDecimal structure to a String.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also

NullableDecimal Class | NullableTypes Namespace