Shiny Language Reference
Language Reference > Math Functions
tan
double tan(double Param);
Calculates tangent
Performs the trigonometric tangent operation on Param.
Parameters
Param
Angle expressed in radians (180 degrees = PI radians).
Return Value
Tangent of Param
Example Code
// Calculate tangent of 45 degrees. PI is defined internally by SSEdit
double Res = tan(45 * PI / 180);