Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

Asin Function

Class

System.Math

Syntax

Dim result As Double = Math.Asin (d)

d (required; Double)

A sine, a number from -1 to 1 inclusive

Description

The Asin function returns the arcsine of d in radians, between p/2 and p/2.

Usage at a Glance

  • If d is out of range, the function returns System.Double.NaN.

  • This is a shared member of the System.Math class, so it can be used without an instance.

  • To convert from radians to degrees, multiply by 180/p.

Version Differences

The Asin function did not exist in VB 6.

See Also

Acos Function, Atan Function, Atan2 Function

Категории