Szerkesztés

Megosztás a következőn keresztül:


StringType.FromDecimal Method

Definition

Returns a String value that corresponds to a specified Decimal and optional number format information.

Overloads

FromDecimal(Decimal)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a String value that corresponds to the specified Decimal.

FromDecimal(Decimal, NumberFormatInfo)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a String value that corresponds to a specified Decimal and number format information.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

FromDecimal(Decimal)

Source:
StringType.vb
Source:
StringType.vb
Source:
StringType.vb

Returns a String value that corresponds to the specified Decimal.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::String ^ FromDecimal(System::Decimal Value);
public static string FromDecimal (decimal Value);
static member FromDecimal : decimal -> string
Public Shared Function FromDecimal (Value As Decimal) As String
Public Function FromDecimal (Value As Decimal) As String

Parameters

Value
Decimal

Required. Decimal to convert to a String value.

Returns

The String value corresponding to Value.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

FromDecimal(Decimal, NumberFormatInfo)

Source:
StringType.vb
Source:
StringType.vb
Source:
StringType.vb

Returns a String value that corresponds to a specified Decimal and number format information.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::String ^ FromDecimal(System::Decimal Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static string FromDecimal (decimal Value, System.Globalization.NumberFormatInfo? NumberFormat);
public static string FromDecimal (decimal Value, System.Globalization.NumberFormatInfo NumberFormat);
static member FromDecimal : decimal * System.Globalization.NumberFormatInfo -> string
Public Shared Function FromDecimal (Value As Decimal, NumberFormat As NumberFormatInfo) As String
Public Function FromDecimal (Value As Decimal, NumberFormat As NumberFormatInfo) As String

Parameters

Value
Decimal

Required. Decimal to convert to a String value.

NumberFormat
NumberFormatInfo

A NumberFormatInfo object that defines how numeric values are formatted and displayed, depending on the culture.

Returns

The String value corresponding to Value.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to