deg(Variable) Function

Top 

Description

Converts the specified value from radians to degrees.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

deg(

Variable x)

 

 

Arguments

x


Description:

The value which will be converted to degrees.

Units:

rad

 

 

 

Return Value

Type:

number

Units:

deg

 

 

The value in degrees.

 

Syntax

myVariable1 = deg(myVariable2);

 

 

See also

deg