Редагувати

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


StringType.FromSingle Method

Definition

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

Overloads

FromSingle(Single)

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

FromSingle(Single, 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 Single and number format information.

Remarks

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

FromSingle(Single)

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

Returns a string value that corresponds to a specified Single.

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

public:
 static System::String ^ FromSingle(float Value);
public static string FromSingle (float Value);
static member FromSingle : single -> string
Public Shared Function FromSingle (Value As Single) As String
Public Function FromSingle (Value As Single) As String

Parameters

Value
Single

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

FromSingle(Single, NumberFormatInfo)

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

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

Parameters

Value
Single

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