ceil() public method

The expression can be any valid expression as long as it resolves to a number.
See also: https://docs.mongodb.org/manual/reference/operator/aggregation/ceil/
Since: 1.3
public ceil ( mixed | self $number )
$number mixed | self
Ejemplo n.º 1
0
 /**
  * Returns the smallest integer greater than or equal to the specified number.
  *
  * The <number> expression can be any valid expression as long as it
  * resolves to a number.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/ceil/
  * @see Expr::ceil
  * @param mixed|Expr $number
  * @return self
  *
  * @since 1.3
  */
 public function ceil($number)
 {
     $this->expr->ceil($number);
     return $this;
 }