Table of Contents

Method ToString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

l float

The coordinate to convert. If the value is not a number (NaN), the method returns "Auto".

cultureInfo CultureInfo

The 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).