Description |
Returns the Sine (Sin) value of the Angle radians value.
|
| Notes | Static methods are not methods of an object - they are simply class functions or procedures available at any time.
|
|
Microsoft MSDN Links |
System
System.Math
|
|
|
A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
float : Double;
begin
float := System.Math.Sin(PI/6); // = 180/6 = 30 degrees
Console.WriteLine('Sin(PI/6) = {0}', float.ToString);
Console.ReadLine;
end.
| Show full unit code | Sin(PI/6) = 0.5
|
|
|
|