Name
Asin Function
Class
System.Math
Syntax
Math.Asin(d
)
-
d
(required; Double or any valid numeric expression) A number representing a sine, which can range from -1 to 1
Return Value
A Double between -pi/2 and pi/2 that is the arcsine
of d
in radians
Description
Returns the arcsine of d
, in radians
Rules at a Glance
If
d
is out of range, the function returnsNaN
.This is a Shared member, so it can be used without creating any objects.
Programming Tips and Gotchas
To convert from radians to degrees, multiply by 180/pi.
VB.NET/VB 6 Differences
The Asin function did not exist in VB 6.
See Also
Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.