Send feedback on this topic.
Teradata.Client.Provider
TdDecimal Constructor(Double)



Teradata.Client.Provider Namespace > TdDecimal Structure > TdDecimal Constructor : TdDecimal Constructor(Double)
The double that will be converted to a TdDecimal.
Initializes a new instance of TdDecimal from the specified System.Double value.
Syntax
'Declaration
 
Public Function New( _
   ByVal input As Double _
)
'Usage
 
Dim input As Double
 
Dim instance As New TdDecimal(input)
public TdDecimal( 
   double input
)
public:
TdDecimal( 
   double input
)

Parameters

input
The double that will be converted to a TdDecimal.
Exceptions
ExceptionDescription
The Double could not be converted to a TdDecimal.
Remarks
When converting a value that is a double to a TdDecimal, there may be a loss of precision.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdDecimal Structure
TdDecimal Members
Overload List