tan({n})

Returns the tan value of radians value {n}. {n} can be any real number in the range of -1e308 <= {n} <= 1e308. If null is passed as an argument, tan() returns null.

tan({n}) takes the following syntax.

SELECT TAN(N) as ALIAS
FROM DATASET;

Example

This example takes the tan of 90 degrees.

SELECT TAN(RADIANS(90)) as tanValue
FROM "Opportunity"
LIMIT 1;
tanValue
163312