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



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

Parameters

input
The Single that will be converted to a TdDecimal.
Exceptions
ExceptionDescription
The input cannot be Infinity or NaN.
Remarks
When converting a value that is a Single to a TdDecimal there may be 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