.atan()

Description

Atan returns the arctangent of a value

Parameters

Atan takes no parameters

Usage On Numbers

num = 1.atan()
// the return value is in degrees
// this does the arctangent of 1 and returns in degrees

log num
// returns 45

Last updated