On This Page

Home / Search/ Language Reference/ Functions/ Scalar Functions/ Mathematical Functions/tan

tan ​

The tan function returns the tangent of a numeric expression.

Syntax ​

tan( X )

Arguments ​

  • X: A real number.

Examples ​

This example returns -1.995200412208242:

print num = 90
| extend newField = tan( num )