System.Sin

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Sin(const X: Extended): Extended;

C++

extern DELPHI_PACKAGE Extended __fastcall Sin(const Extended X);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Returns the sine of the angle, in radians.

In Delphi code, the Sin function returns the sine of the argument.

X is a real-type expression. Sin returns the sine of the angle X, in radians.

See Also


Code Examples