Skip to main content

deg

Syntax Format

deg(x)

Overview

The deg function converts the given x value in radians to degrees. The function is helpful in the scripts, where you use trigonometrical functions, which return data in radians, but you need the value to be in degrees.

Parameters

ParameterTypePurpose
xseries or numericInput value, taken into calculation

Returns: numeric or series.

Example

radians_value = 1.5708
degrees_value = deg(radians_value) -- converts the value into degrees