Skip to main content

arctan

arctan ( number : number ) : number

ParameterTypeDescription
numbernumber->Tangent for which to calculate the angle
Resultnumber<-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)

See also

cos
sin
tan