Grokking MongoDB
Vote

0% completed

​

Advanced Arithmetic Operators

Six arithmetic operators go beyond sums and rounding. They raise numbers to powers, take roots, and calculate logarithms.

OperatorWhat it returnsArguments
$powThe first number raised to the power of the secondExactly two
$sqrtThe square rootOne
$expThe constant e raised to the given powerOne
$lnThe logarithm in base eOne
$logThe logarithm of the first number in the base of the secondExactly two
$log10The logarithm in base 10One

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content