The following tables list the members exposed by TdDecimal.
Public Constructors
Public Fields
| Name | Description |
  | MaxPrecision | The largest possible value for Precision. The value is 38. |
  | MaxScale | The largest possible value for Scale. The value is 38. |
  | MaxValue | The largest possible value for TdDecimal. The value is 99,999,999,999,999,999,999,999,999,999,999,999,999. |
  | MinValue | The smallest possible value for TdDecimal. The value is is -99,999,999,999,999,999,999,999,999,999,999,999,999. |
  | Null | Gets a Null TdDecimal instance. |
Top
Public Properties
| Name | Description |
 | IsNull | Indicates whether this TdDecimal instance is TdDecimal.Null. |
 | IsPositive | Indicates whether this TdDecimal instance is greater than or equal to zero. |
 | Precision | The maximum number of possible digits in this TdDecimal instance. |
 | Scale | The number of decimal places to which this TdDecimal is resolved. |
 | Value | Gets the Decimal representation of this TdDecimal instance. |
Top
Public Methods
| Name | Description |
  | Abs | The absolute value of the specified TdDecimal is returned. |
  | Add | Calculates the sum of the two TdDecimal operands. |
  | AdjustScale | The scale of the TdDecimal operand will be adjusted to the number of digits indicated by the digits parameter. |
  | Ceiling | The smallest whole number greater than or equal to the specified TdDecimal structure. |
  | Compare | Compares two instances of TdDecimal and returns a value indicating whether is greater than, less than or equal to . |
 | CompareTo | Overloaded. Compares this instance to the supplied object and returns whether it is less than, equal or greater than the supplied object. |
  | Divide | Calculates the results of dividing the first TdDecimal operand by the second. |
 | Equals | Overloaded. Returns a value indicating whether two instances of TdDecimal are equal. |
  | Floor | Determines the largest whole number less than or equal to the specified TdDecimal structure. |
 | GetBits | The binary representation of the value of this TdDecimal structure is returned as an array of signed integers. |
 | GetBytes | The binary representation of the value of this TdDecimal structure is returned as an array of bytes. The most significant byte will be the last byte in the array. |
 | GetHashCode | Returns the hash code for this instance. |
 | GetType | Gets the System.Type of the current instance. (Inherited from object) |
  | GetXmlSchema | Specifies the XML Qualified name for TdDecimal XML type mapping. |
  | GreaterThan | Compares two TdDecimals to determine whether the operand is greater than the operand. |
  | GreaterThanOrEqual | Compares two TdDecimals to determine whether the operand is greater than or equal to the operand. |
  | LessThan | Compares two TdDecimals to determine whether the operand is less than the operand. |
  | LessThanOrEqual | Compares two TdDecimals to determine whether the operand is less than or equal to the operand. |
  | Multiply | The arithmetic product of two TdDecimals is calculated. |
  | Negate | Calculates the negation of the TdDecimal operand. |
  | NotEquals | Compares two TdDecimals to determine whether the operand is not equal to the operand. |
  | Parse | Overloaded. Converts a numeric string into an equivalent instance of a TdDecimal. |
  | Round | Overloaded. Rounds the value of a TdDecimal to a specified decimal position or to the nearest integer. |
  | Subtract | Calculates the result of subtracting two TdDecimal operands. |
  | ToBoolean | Converts the value of the specified TdDecimal to a Boolean. |
  | ToByte | Converts the value of the specified TdDecimal to the equivalent Byte. |
  | ToDecimal | Converts the value of the specified TdDecimal to the equivalent Decimal. |
  | ToDouble | Converts the value of the specified TdDecimal into a Double . |
  | ToInt16 | Converts the value of the specified TdDecimal into the equivalent Int16. |
  | ToInt32 | Converts the value of the specified TdDecimal into a Int32. |
  | ToInt64 | Converts the value of the specified TdDecimal to the equivalent Int64. |
  | ToSByte | Converts the value of the specified TdDecimal to the equivalent SByte. |
  | ToSingle | Converts the value of the specified TdDecimal into the equivalent Single. |
 | ToString | Overloaded. Converts this instance of TdDecimal into its corresponding String representation. |
  | ToUInt16 | Converts the value of the specified TdDecimal to the equivalent UInt16. |
  | ToUInt32 | Converts the value of the specfied TdDecimal into a UInt32. |
  | ToUInt64 | Converts the value of the specified TdDecimal to the equivalent UInt64. |
  | Truncate | Truncates the specified TdDecimal structure to a specified decimal position. |
  | TryParse | Overloaded. Converts a numeric string to an equivalent instance of a TdDecimal. A true is returned if the conversion succeeded, false otherwise. |
Top
Public Operators
Addition | Calculates the sum of the two TdDecimal operands. |
Division | Calculates the division of two TdDecimals. |
Equality | Compares two TdDecimals to determine whether the operand is equal to the operand. |
Explicit Type Conversion | Overloaded. |
Greater Than | Compares two TdDecimals to determine whether the operand is greater than the operand. |
Greater Than or Equal | Compares two TdDecimals to determine whether the operand is greater than or equal to the operand. |
Implicit Type Conversion | Overloaded. |
Inequality | Compares two TdDecimals to determine whether the operand is not equal to the operand. |
Less Than | Compares two TdDecimals to determine whether the operand is less than the operand. |
Less Than or Equal | Compares two TdDecimals to determine whether the operand is less than or equal to the operand. |
Multiplication | The arithmetic product of two TdDecimals is calculated. |
Subtraction | Calculates the result of subtracting two TdDecimal operands. |
Unary Negation | Calculates the negation of the TdDecimal operand. |
Top
See Also