HH\Lib\Math\sqrt

This API is part of the Hack Standard Library, not HHVM itself.

Returns the square root of $arg

namespace HH\Lib\Math;

function sqrt(
  num $arg,
): float;

Parameters

  • num $arg