Send feedback on this topic.
Teradata.Client.Provider
ToString(IFormatProvider) Method



Teradata.Client.Provider Namespace > TdDecimal Structure > ToString Method : ToString(IFormatProvider) Method
An IFormatProvider that supplies culture-specific formatting information.
Returns the string representation of the TdDecimal using the culture-specific format information.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal provider As IFormatProvider _
) As String
'Usage
 
Dim instance As TdDecimal
Dim provider As IFormatProvider
Dim value As String
 
value = instance.ToString(provider)
public string ToString( 
   IFormatProvider provider
)
public:
String^ ToString( 
   IFormatProvider^ provider
) 

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

The String representation of this instance as specified by the culture specific information provided by the format provider.
Exceptions
ExceptionDescription
An incorrect format specifier is contained in the format string.
Example
Refer to TdDecimal.ToString for an example.
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