Send feedback on this topic.
Teradata.Client.Provider
TryParse(String,TdDecimal) Method



Teradata.Client.Provider Namespace > TdDecimal Structure > TryParse Method : TryParse(String,TdDecimal) Method
The string to be converted.
The TdDecimal representation of the string
Converts the String representation of a number to its TdDecimal equivalent. A boolean is returned that indicates whether the conversion succeeded.
Syntax
'Declaration
 
Public Overloads Shared Function TryParse( _
   ByVal input As String, _
   ByRef result As TdDecimal _
) As Boolean
'Usage
 
Dim input As String
Dim result As TdDecimal
Dim value As Boolean
 
value = TdDecimal.TryParse(input, result)
public static bool TryParse( 
   string input,
   out TdDecimal result
)
public:
static bool TryParse( 
   String^ input,
   [Out] TdDecimal result
) 

Parameters

input
The string to be converted.
result
The TdDecimal representation of the string

Return Value

true if value was converted successfully, false otherwise.
Remarks
Please refer to TdDecimal.Parse for more information.
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
Overload List