Tan
Mon 01 January 2018Syntax
Tan(angle)
Description
Use the Tan function to calculate the tangent of the given angle (opposite / adjacent).
Parameters
Field or Control |
Definition |
---|---|
angle |
A value in radians. |
Note:
In theory, values of
angle
such that
angle
mod pi
= pi/2 are not valid for this function, because inputs approaching
such values produce results that tend toward infinity. In practice,
however, no computer system can represent such values exactly. Thus,
for example, the statement
Tan(Radians(90))
produces a number close to the largest value PeopleCode can represent,
rather than an error.
Returns
A real number.