In MongoDB, the $degreesToRadians
aggregation pipeline operator converts an input value measured in degrees to radians.
$degreesToRadians
accepts any valid expression that resolves to a number.
The $degreesToRadians
operator was introduced in MongoDB 4.2.