Decimal Methods
.NET Framework 3.0
| Name | Description | |
|---|---|---|
| Add | Adds two specified Decimal values. |
| Ceiling | Returns the smallest integer greater than or equal to the specified decimal number. |
| Compare | Compares two specified Decimal values. |
| CompareTo | Overloaded. Compares this instance to a specified object or Decimal and returns an indication of their relative values. |
| Divide | Divides two specified Decimal values. |
| Equals | Overloaded. Returns a value indicating whether two instances of Decimal represent the same value. |
| Floor | Rounds a specified Decimal number to the closest integer toward negative infinity. |
| FromOACurrency | Converts the specified 64-bit signed integer, which contains an OLE Automation Currency value, to the equivalent Decimal value. |
| GetBits | Converts the value of a specified instance of Decimal to its equivalent binary representation. |
| GetHashCode | Overridden. Returns the hash code for this instance. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| GetTypeCode | Returns the TypeCode for value type Decimal. |
| Multiply | Multiplies two specified Decimal values. |
| Negate | Returns the result of multiplying the specified Decimal value by negative one. |
| op_Addition | Adds two specified Decimal values. |
| op_Decrement | Decrements the Decimal operand by one. |
| op_Division | Divides two specified Decimal values. |
| op_Equality | Returns a value indicating whether two instances of Decimal are equal. |
| op_Explicit | Overloaded. Converts the value of a Decimal object to another type. |
| op_GreaterThan | Returns a value indicating whether a specified Decimal is greater than another specified Decimal. |
| op_GreaterThanOrEqual | Returns a value indicating whether a specified Decimal is greater than or equal to another specified Decimal. |
| op_Implicit | Overloaded. Converts the value of a type to a Decimal value. |
| op_Increment | Increments the Decimal operand by 1. |
| op_Inequality | Returns a value indicating whether two instances of Decimal are not equal. |
| op_LessThan | Returns a value indicating whether a specified Decimal is less than another specified Decimal. |
| op_LessThanOrEqual | Returns a value indicating whether a specified Decimal is less than or equal to another specified Decimal. |
| op_Modulus | Returns the remainder resulting from dividing two specified Decimal values. |
| op_Multiply | Multiplies two specified Decimal values. |
| op_Subtraction | Subtracts two specified Decimal values. |
| op_UnaryNegation | Negates the value of the specified Decimal operand. |
| op_UnaryPlus | Returns the value of the Decimal operand (the sign of the operand is unchanged). |
| Parse | Overloaded. Converts the string representation of a number to its Decimal equivalent. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remainder | Computes the remainder after dividing two Decimal values. |
| Round | Overloaded. Rounds a value to the nearest integer or specified number of decimal places. |
| Subtract | Subtracts one specified Decimal value from another. |
| ToByte | Converts the value of the specified Decimal to the equivalent 8-bit unsigned integer. |
| ToDouble | Converts the value of the specified Decimal to the equivalent double-precision floating-point number. |
| ToInt16 | Converts the value of the specified Decimal to the equivalent 16-bit signed integer. |
| ToInt32 | Converts the value of the specified Decimal to the equivalent 32-bit signed integer. |
| ToInt64 | Converts the value of the specified Decimal to the equivalent 64-bit signed integer. |
| ToOACurrency | Converts the specified Decimal value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer. |
| ToSByte | Converts the value of the specified Decimal to the equivalent 8-bit signed integer. |
| ToSingle | Converts the value of the specified Decimal to the equivalent single-precision floating-point number. |
| ToString | Overloaded. Overridden. Converts the numeric value of this instance to its equivalent String representation. |
| ToUInt16 | Converts the value of the specified Decimal to the equivalent 16-bit unsigned integer. |
| ToUInt32 | Converts the value of the specified Decimal to the equivalent 32-bit unsigned integer. |
| ToUInt64 | Converts the value of the specified Decimal to the equivalent 64-bit unsigned integer. |
| Truncate | Returns the integral digits of the specified Decimal; any fractional digits are discarded. |
| TryParse | Overloaded. Converts the string representation of a number to its Decimal equivalent. A return value indicates whether the conversion succeeded or failed. |
Top