ln() public method

The expression can be any valid expression as long as it resolves to a non-negative number.
See also: https://docs.mongodb.org/manual/reference/operator/aggregation/log/
Since: 1.3
public ln ( mixed | self $number )
$number mixed | self
コード例 #1
0
ファイル: Operator.php プロジェクト: malukenho/mongodb
 /**
  * Calculates the natural logarithm ln (i.e loge) of a number and returns
  * the result as a double.
  *
  * The <number> expression can be any valid expression as long as it
  * resolves to a non-negative number.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/log/
  * @see Expr::ln
  * @param mixed|Expr $number
  * @return self
  *
  * @since 1.3
  */
 public function ln($number)
 {
     $this->expr->ln($number);
     return $this;
 }