Delphi Programming
Advertisement
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.
Stub
This article is a stub.
Please help enhance the Delphi Programming Wiki by expanding it.
Info
see the VCL Documentation Guidelines for an overview on doc pages

Unit[]

Description[]

Sin() function takes an angle in radiant unit and returns sinus of angle. Declaration of Sin() as follows:

 function sin(const angle:extended):extended;

Return value will be between 0.0-1.0

Technical Comments[]

(Known issues / Documentation clarifications / Things to be aware of)

Examples[]

 var
   an_angle,sinus:extended;
 ...
 an_angle:=0.25*pi;
 sinus:=sin(an_angle);

See Also[]

User Comments/Tips[]

(Please leave your name with your comment.)

Advertisement