Skip to content
Vašek edited this page Jan 13, 2019 · 5 revisions

dsin

Returns the sine of value in degrees

Syntax:

dsin(x)
Argument Description
double x The angle in degrees to sine

Returns: double

Description:

In a right angled triangle dsin(x) = Opposite / Hypotenuse. If you want to use radians instead of degrees use function sin().

Example:

double value;
value = dsin(90);

This code will set value to 1.

Example:

double value;
value = dsin(-245);

This code will set value to 0,906308.

Back to number_functions

Clone this wiki locally