Skip to main content
Version: 8.1

tan

This function is used by Ignition's Expression language.

Description​

Returns the trigonometric tangent of a number, which is interpreted as an angle expressed in radians. The results will be a floating point value.

Syntax​

tan(number)

Parameters​

TypeParameterDescription
Integer/FloatnumberThe number to get the tangent of.

Results​

Float - The tangent of the number provided.

Examples​

Code Snippet
 tan(1.89) //returns -3.026