tan()

The mathLib.tan() system function returns the tangent of a number whose value represents an angle expressed in radians.

Syntax

  mathLib.tan(numericField FLOAT in)
  returns (result FLOAT)
numericVariable
Input can be any variable or expression that is assignment compatible with the FLOAT type (see "Assignment compatibility in EGL"). The value represents an angle in radians.
result
A FLOAT value.

Example

  result = mathLib.tan(myVar);

Feedback