Cos (open)
Returns the cosine of a value.
Syntax
LOADLIB "wh::float.whlib";
FLOAT FUNCTION Cos(FLOAT value)Parameters
FLOAT valueThe FLOAT value (in radians) from which to determine the cosine
Return value
FLOATThe cosine of @italic value
Examples
// The FLOAT value will be 0.0
FLOAT f := Cos(0.5 * PI);