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:
static String^ ToString(
	Decimal Value,
	NumberFormatInfo^ NumberFormat
)

Parameters

Value
Type: System::Decimal

The decimal value to convert.

NumberFormat
Type: System.Globalization::NumberFormatInfo^

The number format to use, according to NumberFormatInfo.

Return Value

Type: System::String^

The String representation of the Decimal value.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show: