Parses Cartesian X from the provided string.
true - the function has succeeded, false - it has failed
The function verifies validity of the parsing result. The valid Cartesian X is a real number.
This sample shows how to call the Cartesian.ParseCartesianXInM method from C# code:
string errorMessage = String.Empty;
string str = "1114120.60285998";
double xInM = Double.NaN;
if (Cartesian.ParseCartesianXInM(str, out xInM, out errorMessage))
{
Console.WriteLine("X, in m: " + xInM.ToString());
}
else
{
Console.WriteLine(errorMessage);
}