bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL TAN() Function

Concept visual

MySQL TAN() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the tangent of a number:

SELECT TAN(1.75);

Definition and Usage

The TAN() function returns the tangent of a number.

Syntax

Tan(

number )

Parameter Values

Parameter

Description number

Required. A numeric value

Technical Details

Works in:

From MySQL 4.0

More Examples

Example

Return the tangent of a number:

SELECT TAN(-3);

Previous

❮ MySQL Functions

Next

Previous

MySQL SUM() Function

Next

MySQL TRUNCATE() Function