Function Radians(x)

Radians

Radians(
       x             ! (input) numerical expression
       )

Arguments

x

A scalar numerical expression.

Example

_p_returnA := radians(180); ! radians(180) = pi
_p_returnB := radians( 90); ! radians( 90) = pi/2
_p_returnC := radians(  0); ! radians(  0) = 0
_p_returnD := radians( 45); ! radians( 45) = pi/4

Return Value

The function Radians returns the value of x converted from degrees to radians.

Note

The function Radians can be used in constraints of linear and nonlinear mathematical programs.

See also

The function Degrees. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.