Skip to content

Tan - Built-in Arithmetic Function

Purpose

Tan returns the tangent of an angle.

Syntax

Tan(num) 

Arguments

Argument Required Description
num Yes Any numeric expression. Represents the angle in radians.

Returns

Number

Example

Return Tan(0.593412) // returns 0.67 (when the field has a 2 decimal format) 

Notes

  • When num cannot be converted to a number, a runtime error is generated.
  • To convert degrees to radians, multiply degrees by pi/180.