Checks if the provided precision is valid.
true - if the precision is valid, false - if the precision is invalid
The valid precision is an integer number in the range from 0 (inclusive) to 15 (inclusive).
This sample shows how to call the Geodetic.Longitude.IsValidPrecision method from C# code:
string errorMessage = String.Empty;
int precision = 77;
if (Geodetic.Longitude.IsValidPrecision(precision, out errorMessage))
{
Console.WriteLine("Precision is valid.");
}
else
{
Console.WriteLine(errorMessage);
}