Utility.FloatParse Method

Converts the string representation of a number to its single-precision equivalent in a culture invariant way.
Public Shared Function FloatParse( _ 
ByVal value As String
) As Single
This language is not supported or no code example is available.
public static float FloatParse( 
string value 
)
This language is not supported or no code example is available.

Parameters

value
string

The string to convert

Return Value

float

The converted value.

.NET Framework

Supported in: 4.8

In this article

Definition