Function to calculate and return the angle size in radians for any given cosine value
The ACOS() function calculates the angle size of a cosine value. The cosine value is represented by the numeric expression <expN>. The numeric expression must fall between -1.0 and +1.0 inclusive. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size.
set decimal to 4 ?acos(0.7071) 0.7854 set decimals to 2 ?rtod(acos(cos(dtor(30)))) 30.00