Caché MultiValue Basic Reference
ASIN

 Server:docs2 Instance:LATEST User:UnknownUser

 [ Home ]  >  [ MultiValue Features of Caché ]  >  [ Caché MultiValue Basic Reference ]  >  [ Caché MultiValue Basic Functions ]  >  [ ASIN ] Go to: Description Examples See Also Search:

Returns the arc-sine of an angle.
Synopsis
`ASIN(number)`
Arguments
 number An expression that resolves to a number or numeric string in the range -1 to 1 (inclusive). Values outside of this range generate an error.
Description
The ASIN function returns the trigonometric arc-sine of number. An arc-sine is the inverse of a sine.
By default, Caché MVBasic trig functions return results in degrees. To return results in radians, set \$OPTIONS RADIANS.
To convert degrees to radians, multiply degrees by pi/180. To convert radians to degrees, multiply radians by 180/pi.
Examples
The following example uses the ASIN function to return the arc-sine of an angle:
```PRINT ASIN(-0.5):" in radians"
PRINT ASIN(-0.5)*(180/ACOS(-1)):" in degrees"```
See Also

 Copyright © 1997-2017, InterSystems Corp. [Back]    [Home]    [Top of Page]   [Next] Build: Caché v2017.1 (792) Last updated: 2017-03-20 19:02:21 Source: RVBS_fasin.xml