Table of Contents

Class MongoDBMath

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

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 double

The degrees.

Returns

double

The radians.

RadiansToDegrees(double)

Converts radians to degrees.

public static double RadiansToDegrees(double radians)

Parameters

radians double

The radians.

Returns

double

The degrees.