Skip to content
Reference > Methods

asin(value)

Definition

Double asin(Number value)

Description

Returns a Double that is the arc sine of a value; the returned angle is expressed in radians in the range of -pi/2 to pi/2.

Parameter Definition

Name Type Description
value Number Input value

Examples

Double r1 = asin(1); // r1 == 1.5707963267948966
Double r2 = asin(0.5D); // r2 == 0.5235987755982989