This page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation.
see the VCL Documentation Guidelines for an overview on doc pages
Unit[]
Description[]
Tan() function takes an angle and return tangent of angle. The angle is in radiant unit. Declaration is as follow:
function Tan(const angle:extended):extended;
Technical Comments[]
Tan() returns exception if you set angle to Pi.
Examples[]
var an_angle:extended; tangent:extended; ... an_angle:=0.25*Pi; tangent:=Tan(an_angle);
See Also[]
User Comments/Tips[]
(Please leave your name with your comment.)