rad(Variable) Function

Top 

Description

Converts the specified value from degrees to radians.

 

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

rad(

Variable x)

 

 

Arguments

x


Description:

The value which will be converted to radians.

Units:

deg

 

 

 

Return Value

Type:

number

Units:

rad

 

 

The value in degrees.

 

Syntax

myVariable1 = rad(myVariable2);

 

 

See also

rad