Function __global->ceil

Definitions

sources_custom/phpstub.php

  • Round fractions up.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: float

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$function float No No required parameter N/A N/A Value to round up

Returns

  • Rounded value
  • Type: float
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Round fractions up.
 *
 * @param  float $function Value to round up
 * @return float Rounded value
 */

function ceil(float $function) : float