$atan

Calculates the arctangent of a number.

Syntax

$atan(number)

Parameters

number

a number, or an expression that evaluates to a number

Return Value

Number, with the same number of decimal places as number.

Comments

Use $atan to calculate the arctangent (in radians) of a number. The value returned by this function has the same number of decimal places as number.

Example

let vAngle[1] = $atan(0.500)

The preceding command sets the first element of array variable vAngle to 0.464.

 

Related Topics