Skip to main content
Version: 8.1

toradians

This function is used by Ignition's Expression language.

Description​

Converts an angle measured in degrees to an equivalent angle measured in radians.

Syntax​

toradians(number)

  • Parameters

    • Integer/Float number- The number of degrees.
  • Results

    • Integer/Float - The radian equivalent of the degrees provided.

Examples​

Code Snippet
toradians(180) //returns 3.141592653589793