MySQLNumeric FunctionsTAN
COS

TANNumeric Functions

NOW

Returns the tangent value.

Syntax

TAN(x)

Example

Enter values below to update the example in real time.

angle_deg
tan_val
angles
SELECT angle_deg, ROUND(TAN(RADIANS(angle_deg)), 4) AS tan_val
FROM angles;