Name

Atan Function — System.Math

Synopsis

Math.Atan(d)
d required; Double or any valid numeric expression

A number representing a tangent

Return Value

A Double that is the arctangent in radians of d, in the range -pi/2 to pi/2

Description

Takes the ratio of two sides of a right triangle (d) and returns the corresponding angle in radians. The ratio is the length of the side opposite the angle divided by the length of the side adjacent to the angle.

Get VB.NET Language Pocket Reference 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.