Skip to main content
Version: Next

arctan

arctan ( number : number ) : number

ParameterTypeDescription
numbernumberTangent for which to calculate the angle
ResultnumberAngle 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