HH\Lib\Math\cos
Returns the cosine of $arg
namespace HH\Lib\Math;
function cos(
num $arg,
): float;
- To find the sine, see
Math\sin()
. - To find the tangent, see
Math\tan()
.
Parameters
num $arg
Returns
float
This is available as Math\cos
in the www repository.
Returns the cosine of $arg
namespace HH\Lib\Math;
function cos(
num $arg,
): float;
Math\sin()
.Math\tan()
.num $arg
float