BikeInCity.Utils.GeoMath.ToRad C# (CSharp) Method

ToRad() public static method

Converts degrees to radians. Used to convert the latitude and longitude coordinates.
public static ToRad ( double angle ) : double
angle double
return double
        public static double ToRad(double angle)
        {
            var r = angle * Math.PI / 180;
              return r;
        }