CitectVBA Programming Reference > CitectVBA Function Reference > Math/Trigonometry Functions > Trigonometric functions

Trigonometric functions

CitectSCADA uses the following trigonometric functions:

Atn

returns the Arctangent value of a number (Num ).

Cos

returns the Cosine value of angle (Rad ).

Sin

returns the Sine value of angle (Rad ).

Tan

returns the Tangent value of angle (Rad ).

Trigonometry uses angles and ratios, axes, degrees, Pi, radians and angular conversions. CitectVBA supports the use of Decimal numbers by default, as well as Hexadecimal and Octal numbers. See Numbers.

When using numbers in CitectVBA, you must consider the data type of the variables that hold and store the numbers, as well as the behaviour of CitectVBA when dealing with numbers. See Numeric Data Types.