Identifier: angle_mode

Type

string

Description

The current units for angle input. The value can be "degrees", "radians" or "gradians". Its value may be changed but only to one of these three values.

Examples

This will interpret 45 as degrees.

angle_mode = 'degrees'
numeric angle = sin(45)

This will interpret pi/4 as radians.

angle_mode = 'radians'
numeric angle = sin(pi/4)

See Also

Identifiers:

degs (numeric), grads (numeric), rads (numeric)