Method

# ASin

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Returns the arcsine of the value specified.

## Usage

``` xojo
result = ASin(value)
```

| Part   | Type                             | Description                                                                                                                 |
|--------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| result | `Double</api/data_types/double>` | The arc sine of *value*.                                                                                                    |
| value  | `Double</api/data_types/double>` | The value you want the arc sine of. *value* is the `Sin</api/math/sin>` of the angle you want and must be between -1 and 1. |

## Notes

The [arcsine](http://en.wikipedia.org/wiki/Arcsine) is the angle whose sine is value. The <span class="title-ref">ASin</span> function returns the angle (in radians) of the sine passed to it. To express the arcsine in degrees, multiply the result by 180/PI.

## Sample code

This code uses the <span class="title-ref">ASin</span> function to return the arcsine of a number:

``` xojo
Var d As Double
Const Pi = 3.14159
d = ASin(0.5) ' returns 0.5235988
d = ASin(0.5) * 180 / Pi ' returns 30
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`Sin</api/math/sin>` function

</div>
