The operators and type conversions of the Decimal structure are listed below. For a complete list of Decimal structure members, see the Decimal Members topic.
Addition Operator | Adds two Decimal values. |
Decrement Operator | [To be supplied.] |
Division Operator | Divides two Decimal values and returns a Decimal result. |
Equality Operator | Determines whether two specified Decimal values are equal. |
Greater Than Operator | Determines whether one Decimal value is greater than a specified Decimal. |
Greater Than Or Equal Operator | Determines whether one Decimal value is greater than or equal to a specified Decimal. |
Increment Operator | [To be supplied.] |
Inequality Operator | Determines whether two Decimal values are not equal. |
Less Than Operator | Determines whether one Decimal value is less than a specified Decimal. |
Less Than Or Equal Operator | Determines whether one Decimal value is less than or equal to a specified Decimal. |
Modulus Operator | Determines the remainder from dividing two Decimal values. |
Multiplication Operator | Multiplies two Decimal values and produces a Decimal result. |
Subtraction Operator | Subtracts two specified Decimal values. |
Unary Negation Operator | Decrements the specified number. |
Unary Plus Operator | Returns the negated value of the specified Decimal. |
Decimal to Double Conversion | [To be supplied.] |
Decimal to Single Conversion | [To be supplied.] |
Decimal to UInt32 Conversion | [To be supplied.] |
Decimal to Int64 Conversion | [To be supplied.] |
Decimal to UInt64 Conversion | [To be supplied.] |
Single to Decimal Conversion | [To be supplied.] |
Decimal to Int16 Conversion | [To be supplied.] |
Decimal to Char Conversion | [To be supplied.] |
Decimal to Int32 Conversion | [To be supplied.] |
Decimal to UInt16 Conversion | [To be supplied.] |
Decimal to SByte Conversion | [To be supplied.] |
Double to Decimal Conversion | [To be supplied.] |
Decimal to Byte Conversion | [To be supplied.] |
Byte to Decimal Conversion | Overloaded. [To be supplied.] |