Function __global->floatval

Definitions

sources_custom/phpstub.php

  • Get float value of a variable.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: float

Parameters

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

Returns

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

Preview

Code (PHP)

/**
 * Get float value of a variable.
 *
 * @param  mixed $var The input
 * @return float The float value
 */

function floatval($var) : float