StringType.FromSingle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- 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.