Send feedback on this topic.
Teradata.Client.Provider
TdDecimal Structure Members
Fields  Properties  Methods 

Teradata.Client.Provider Namespace : TdDecimal Structure

The following tables list the members exposed by TdDecimal.

Public Constructors
 NameDescription
Public ConstructorOverloaded.  Initializes a new instance of TdDecimal.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic) The largest possible value for Precision. The value is 38.  
Public Fieldstatic (Shared in Visual Basic) The largest possible value for Scale. The value is 38.  
Public Fieldstatic (Shared in Visual Basic) The largest possible value for TdDecimal. The value is 99,999,999,999,999,999,999,999,999,999,999,999,999.  
Public Fieldstatic (Shared in Visual Basic) The smallest possible value for TdDecimal. The value is is -99,999,999,999,999,999,999,999,999,999,999,999,999.  
Public Fieldstatic (Shared in Visual Basic) Gets a Null TdDecimal instance.  
Top
Public Properties
 NameDescription
Public PropertyIndicates whether this TdDecimal instance is TdDecimal.Null.  
Public Property Indicates whether this TdDecimal instance is greater than or equal to zero.  
Public Property The maximum number of possible digits in this TdDecimal instance.  
Public Property The number of decimal places to which this TdDecimal is resolved.  
Public PropertyGets the Decimal representation of this TdDecimal instance.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic) The absolute value of the specified TdDecimal is returned.  
Public Methodstatic (Shared in Visual Basic) Calculates the sum of the two TdDecimal operands.  
Public Methodstatic (Shared in Visual Basic) The scale of the TdDecimal operand will be adjusted to the number of digits indicated by the digits parameter.  
Public Methodstatic (Shared in Visual Basic) The smallest whole number greater than or equal to the specified TdDecimal structure.  
Public Methodstatic (Shared in Visual Basic)Compares two instances of TdDecimal and returns a value indicating whether left is greater than, less than or equal to right.  
Public MethodOverloaded.  Compares this instance to the supplied object and returns whether it is less than, equal or greater than the supplied object.  
Public Methodstatic (Shared in Visual Basic) Calculates the results of dividing the first TdDecimal operand by the second.  
Public MethodOverloaded. Returns a value indicating whether two instances of TdDecimal are equal.  
Public Methodstatic (Shared in Visual Basic) Determines the largest whole number less than or equal to the specified TdDecimal structure.  
Public Method The binary representation of the value of this TdDecimal structure is returned as an array of signed integers.  
Public Method 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.  
Public Method Returns the hash code for this instance.  
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Specifies the XML Qualified name for TdDecimal XML type mapping.  
Public Methodstatic (Shared in Visual Basic)Compares two TdDecimals to determine whether the left operand is greater than the right operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdDecimals to determine whether the left operand is greater than or equal to the right operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdDecimals to determine whether the left operand is less than the right operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdDecimals to determine whether the left operand is less than or equal to the right operand.  
Public Methodstatic (Shared in Visual Basic) The arithmetic product of two TdDecimals is calculated.  
Public Methodstatic (Shared in Visual Basic) Calculates the negation of the TdDecimal operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdDecimals to determine whether the left operand is not equal to the right operand.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Converts a numeric string into an equivalent instance of a TdDecimal.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Rounds the value of a TdDecimal to a specified decimal position or to the nearest integer.  
Public Methodstatic (Shared in Visual Basic) Calculates the result of subtracting two TdDecimal operands.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to a Boolean.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent Byte.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent Decimal.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal into a Double .  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal into the equivalent Int16.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal into a Int32.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent Int64.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent SByte.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal into the equivalent Single.  
Public MethodOverloaded.  Converts this instance of TdDecimal into its corresponding String representation.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent UInt16.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specfied TdDecimal into a UInt32.  
Public Methodstatic (Shared in Visual Basic)Converts the value of the specified TdDecimal to the equivalent UInt64.  
Public Methodstatic (Shared in Visual Basic) Truncates the specified TdDecimal structure to a specified decimal position.  
Public Methodstatic (Shared in Visual Basic)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
Calculates the sum of the two TdDecimal operands.
Calculates the division of two TdDecimals.
Compares two TdDecimals to determine whether the left operand is equal to the right operand.
Overloaded.  
Compares two TdDecimals to determine whether the left operand is greater than the right operand.
Compares two TdDecimals to determine whether the left operand is greater than or equal to the right operand.
Overloaded.  
Compares two TdDecimals to determine whether the left operand is not equal to the right operand.
Compares two TdDecimals to determine whether the left operand is less than the right operand.
Compares two TdDecimals to determine whether the left operand is less than or equal to the right operand.
The arithmetic product of two TdDecimals is calculated.
Calculates the result of subtracting two TdDecimal operands.
Calculates the negation of the TdDecimal operand.
Top
See Also

Reference

TdDecimal Structure
Teradata.Client.Provider Namespace