...
Returns a floating point value in the range [-1.0, 1.0]
Examples
...
language | text |
---|
float $temp = (cos (30));
...
// declares a variable for the cosine function
...
print (string ($temp));
...
// prints the output of the cosine function
Additional information
Related commands
...