In PostgreSQL, tan()
is a mathematical function that returns the tangent of the input expression.
The input expression is provided as an argument, and it is specified in degrees.
In trigonometry, in a right-angled triangle, the tangent of an angle is the length of the opposite side divided by the length of the adjacent side.
Continue reading