Function __global->fmod

Definitions

sources_custom/phpstub.php

  • Returns the floating point remainder (modulo) of the division of the arguments.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: float

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$x float No No required parameter N/A N/A The dividend
$y float No No required parameter N/A N/A The divisor

Returns

  • The remainder
  • Type: float
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Returns the floating point remainder (modulo) of the division of the arguments.
 *
 * @param  float $x The dividend
 * @param  float $y The divisor
 * @return float The remainder
 */

function fmod(float $x, float $y) : float