Send feedback on this topic.
Teradata.Client.Provider
Value Property (TdDecimal)



Teradata.Client.Provider Namespace > TdDecimal Structure : Value Property
Gets the Decimal representation of this TdDecimal instance.
Syntax
'Declaration
 
Public ReadOnly Property Value As Decimal
'Usage
 
Dim instance As TdDecimal
Dim value As Decimal
 
value = instance.Value
public decimal Value {get;}
public:
property decimal Value {
   decimal get();
}

Property Value

A Decimal in the range of Decimal.MinValue through Decimal.MaxValue.
Exceptions
ExceptionDescription
The value of the TdDecimal is Null.
This TdDecimal is greater than Decimal.MaxValue or it is less than Decimal.MinValue.
Remarks
TdDecimal can represent numbers up to 38 precision. Therefore not all TdDecimal instances can be converted / represented as Decimal. This property in concept parallels TdDataReader.GetValue and TdParameter.Value. That is they all represent the .NET Framework Class Library (FCL) primitive data type that correspond to Teradata Decimal data type.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDecimal Structure
TdDecimal Members