atan()
Table of Contents
Overview
The atan() function takes a number (representing a trigonometric tangent) as an argument, and returns the angle (measured in radians) of that number.
Return Type
- Decimal
Syntax
(OR)
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned value. | NUMBER |
<number> | The number whose inverse tangent value will be returned. | NUMBER or DECIMAL |
Examples
atanValue = number.atan(); // returns 0.7853981633974483