Редагувати

Поділитися через


StringType.FromDouble Method

Definition

Returns a string that corresponds to a specified Double and optional number format information.

Overloads

FromDouble(Double)

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 Double.

FromDouble(Double, NumberFormatInfo)

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

Returns a string that corresponds to a specified Double and number format information.

Remarks

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

FromDouble(Double)

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

Returns a string value that corresponds to a specified Double.

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

public:
 static System::String ^ FromDouble(double Value);
public static string FromDouble (double Value);
static member FromDouble : double -> string
Public Shared Function FromDouble (Value As Double) As String
Public Function FromDouble (Value As Double) As String

Parameters

Value
Double

Required. Double 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

FromDouble(Double, NumberFormatInfo)

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

Returns a string that corresponds to a specified Double 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 ^ FromDouble(double Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static string FromDouble (double Value, System.Globalization.NumberFormatInfo? NumberFormat);
public static string FromDouble (double Value, System.Globalization.NumberFormatInfo NumberFormat);
static member FromDouble : double * System.Globalization.NumberFormatInfo -> string
Public Shared Function FromDouble (Value As Double, NumberFormat As NumberFormatInfo) As String
Public Function FromDouble (Value As Double, NumberFormat As NumberFormatInfo) As String

Parameters

Value
Double

Required. Double 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 representation of Value.

Remarks

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

Applies to