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