HH\Lib\Math\ceil

Requires the Hack Standard Library to be installed.
Facebook Engineer?

This function is available as Math\ceil() in Facebook's www repository.

Returns the smallest integer value greater than or equal to $value

namespace HH\Lib\Math;

function ceil(
  num $value,
): float;

To find the largest integer value less than or equal to $value, see Math\floor().

Parameters

  • num $value

Returns

  • float