In PostgreSQL, atan()
is a mathematical function that returns the angle, in radians, whose tangent is a specified expression.
In trigonometry, this is known as the arctangent. The arctangent is the inverse of the tangent.
The arctangent is used when you know what the tangent of an angle is, but you want to know what the actual angle is.
Continue reading