sqrt() 공개 메소드

The argument can be any valid expression as long as it resolves to a non-negative number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/sqrt/
public sqrt ( mixed | self $expression )
$expression mixed | self
예제 #1
0
 /**
  * Calculates the square root of a positive number and returns the result as
  * a double.
  *
  * The argument can be any valid expression as long as it resolves to a
  * non-negative number.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/sqrt/
  * @see Expr::sqrt
  * @param mixed|Expr $expression
  * @return self
  */
 public function sqrt($expression)
 {
     $this->expr->sqrt($expression);
     return $this;
 }