DB2 Version 9.7 for Linux, UNIX, and Windows

TAN scalar function

Read syntax diagramSkip visual syntax diagram
>>-TAN--(--expression--)---------------------------------------><

The schema is SYSIBM. (The SYSFUN version of the TAN function continues to be available.)

Returns the tangent of the argument, where the argument is an angle expressed in radians.

The argument can be any built-in numeric data type (except for DECFLOAT). It is converted to a double-precision floating-point number for processing by the function.

The result of the function is a double-precision floating-point number. The result can be null if the argument can be null or the database is configured with dft_sqlmathwarn set to YES; the result is the null value if the argument is null.