In MongoDB, the $floor
aggregation pipeline operator returns the largest integer less than or equal to the specified number.
$floor
accepts any valid expression that resolves to a number.
In MongoDB, the $floor
aggregation pipeline operator returns the largest integer less than or equal to the specified number.
$floor
accepts any valid expression that resolves to a number.
In MongoDB, the $ceil
aggregation pipeline operator returns the smallest integer greater than or equal to the specified number.
$ceil
accepts any valid expression that resolves to a number.
In MongoDB, the $sqrt
aggregation pipeline operator calculates the square root of a positive number and returns the result as a double.
$sqrt
accepts any valid expression that resolves to a non-negative number.
In MongoDB, the $tan
aggregation pipeline operator returns the tangent of a value that is measured in radians.
$tan
accepts any valid expression that resolves to a number.
The $tan
operator was introduced in MongoDB 4.2.
In MongoDB, the $sinh
aggregation pipeline operator returns the hyperbolic sine of a value that is measured in radians.
$sinh
accepts any valid expression that resolves to a number.
The $sinh
operator was introduced in MongoDB 4.2.
In MongoDB, the $sin
aggregation pipeline operator returns the sine of a value that is measured in radians.
$sin
accepts any valid expression that resolves to a number.
The $sin
operator was introduced in MongoDB 4.2.
In MongoDB, the $pow
aggregation pipeline operator raises a number to the specified exponent and returns the result
$pow
accepts two expressions, supplied in an array. The first one is the number, and the second is the exponent. Both can be any valid expression, as long as they resolve to a number.
In MongoDB, the $log10
aggregation pipeline operator calculates the log base 10 of a number and returns the result as a double.
$log10
accepts any valid expression that resolves to a non-negative number.
The $log10
operator was introduced in MongoDB 3.2.
In MongoDB, the $atanh
aggregation pipeline operator returns the hyperbolic arctangent (inverse hyperbolic tangent) of a value.
The return value is in radians.
$atanh
accepts any valid expression that resolves to a number between -1
and 1
.
The $atanh
operator was introduced in MongoDB 4.2.
In MongoDB, the $atan2
aggregation pipeline operator returns the arctangent (inverse tangent) of one value divided by another.
You provide the two values in an array. Each of the two values provided to $atan2
can be any valid expression that resolves to a number.
The return value is in radians.
The $atan2
operator was introduced in MongoDB 4.2.