Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion(Decimal,TdNumber) Operator



Teradata.Client.Provider Namespace > TdNumber Structure > Explicit Type Conversion Operator : Explicit Type Conversion(Decimal,TdNumber) Operator
A TdNumber
Converts a TdNumber to a System.Decimal.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal input As TdNumber _
) As Decimal
'Usage
 
public decimal operator explicit( 
   TdNumber input
)
public:
decimal operator explicit( 
   TdNumber input
)

Parameters

input
A TdNumber

Return Value

A System.Decimal is returned
Exceptions
ExceptionDescription
The value of the TdNumber is Null.
A Decimal cannot hold the value of the TdNumber.
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

TdNumber Structure
TdNumber Members
Overload List