Method ToString
ToString(float, CultureInfo)
Converts the specified coordinate to its string representation using the specified culture-specific formatting.
public static string ToString(float l, CultureInfo cultureInfo)
Parameters
lfloatThe coordinate to convert. If the value is not a number (NaN), the method returns "Auto".
cultureInfoCultureInfoThe culture-specific formatting information to use for the conversion.
Returns
- string
A string representation of the coordinate formatted using the specified culture, or "Auto" if the coordinate is not a number (NaN).