Class MongoDBMath
Similar to the standard Math class but contains MongoDB specific methods.
public static class MongoDBMath
- Inheritance
-
MongoDBMath
- Inherited Members
Methods
DegreesToRadians(double)
Converts degrees to radians.
public static double DegreesToRadians(double degrees)
Parameters
degrees
doubleThe degrees.
Returns
- double
The radians.
RadiansToDegrees(double)
Converts radians to degrees.
public static double RadiansToDegrees(double radians)
Parameters
radians
doubleThe radians.
Returns
- double
The degrees.