log10() 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/log10/
Since: 1.3
public log10 ( mixed | self $number )
$number mixed | self
示例#1
0
 /**
  * Calculates the log base 10 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.
  * The <base> expression can be any valid expression as long as it resolves
  * to a positive number greater than 1.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/log/
  * @see Expr::log10
  * @param mixed|Expr $number
  * @return self
  *
  * @since 1.3
  */
 public function log10($number)
 {
     $this->expr->log10($number);
     return $this;
 }