Function __global->floor

Definitions

sources_custom/phpstub.php

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

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$value float No No required parameter N/A N/A The input

Returns

  • The rounded value
  • Type: float
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Round fractions down.
 *
 * @param  float $value The input
 * @return float The rounded value
 */

function floor(float $value) : float