Skip to content

degtorad

Vašek edited this page Jan 13, 2019 · 4 revisions

degtorad

Converts given value in degrees to radians.

Syntax:

degtorad(x)
Argument Description
double x The angle in degrees

Returns: double

Description:

This function converts given x in degrees to radians.

Example:

double value;
value = degtorad(90);

This function will set value to 1,570797, which is equal to pi/2.

Back to number_functions

Clone this wiki locally