Method ParseTwoFloats
ParseTwoFloats(string?, IFormatProvider?)
Parses string with two float values separated by the comma character or other separator. All whitespaces and brackets are trimmed before parsing is done.
public static (float Item1, float Item2) ParseTwoFloats(string? source, IFormatProvider? formatProvider = null)
Parameters
sourcestringString to parse.
formatProviderIFormatProviderOptional IFormatProvider with string format settings. If not specified, InvariantEnglishUS is used.