Tangent (Expression Function)


The Tangent function (TAN) is used to calculate the tangent of an angle given in radians, degrees, or gradians. The inverse tangent function is also available.


The Tangent function has two parameters, the first of which is required:


Allowed Inputs: field value or number

The first required parameter is the angle that the tangent will be obtained from either use the use the Query Builder to choose a field that contains the value or use type a value to enter a number.

Angle Unit

Allowed Inputs: omitted, 'd', 'g'

The second parameter of the Tangent function is the unit the angle is provided in. If the angle unit is omitted or not recognized then radians will be be used. For an angle provided in degrees use 'd'. For an angle provided in gradians use 'g'. If the angle unit needs to be dynamically stored in a field then the advanced expression builder will need to be used.


The output of the Tangent function is a number representing the slope of an angle when the radius of the circle is 1.


For example TAN(0.5235987755983), TAN(30,'d'), and TAN(33.3333333333,'g') would result in “0.57735026919”.

expression function - tangent.txt · Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2020