Conversions.ToString Method (Decimal, NumberFormatInfo)

Converts a Decimal value to a String value, using the specified number format.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)


Public Shared Function ToString ( _
    Value As Decimal, _
    NumberFormat As NumberFormatInfo _
) As String
public static string ToString(
    decimal Value,
    NumberFormatInfo NumberFormat


Return Value

Type: System.String
The String representation of the Decimal value.

Version Information


Supported in: 5, 4, 3


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.