arctan
arctan ( number : number ) : number
Parameter | Type | Description | |
---|---|---|---|
number | number | -> | Tangent for which to calculate the angle |
Result | number | <- | Angle in radians |
Description
arctan
returns the angle, expressed in radians, of the tangent number.
note
Qodly provides the predefined constants Pi
, Degree
, and Radian
. Pi
returns the Pi number (3.14159...), Degree
returns one degree expressed in radians (0.01745...), and Radian
returns one radian expressed in degrees (57.29577...).
Example
var vPi : string
vPi = "Pi is equal to: "+string(arctan(1)*4)