Returns the tangent of an angle
Device + Agent
An angle in radians
Float — the tangent of the angle
This function returns the tangent of the passed angle. The tangent is equal to the ratio of the side opposite to angle and the side adjacent to the angle in the right-angled triangle they define.
The angle must be measured in radians. To convert an angle measured in degrees to its radian equivalent, multiply the angle by π, represented in Squirrel by the constant
PI, and divide by 180.