This topic describes how to use the mathematical function TAN in Realtime Compute.

Syntax

DOUBLE TAN(A)    

Input parameters

Parameter Data type
A DOUBLE

Description

Returns the tangent value of A.

Example

  • Test data
    in1 (DOUBLE)
    0.8
    0.4
  • Test statements
    SELECT TAN(in1) as aa
    FROM T1;              
  • Test results
    aa (DOUBLE)
    1.0296385570503641
    0.4227932187381618