GLBasic User Manual

Main sections

ACOS()

v=ACOS(a#)



ACOS returns the arccosine angle whose cosine is v.

The result will be in the range -90 to +90.

Sample:
a# = 0.5
result# = ACOS(a#)
PRINT "ACOS result = " + result,0,0
SHOWSCREEN
MOUSEWAIT


Output:
ACOS result = 60

See also...