Skip to main content
Version: 7.9

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

    • int/float number- The number of degrees.
  • Results

    • int/float - The radian equivalent of the degrees provided.

Examples

Code Snippet
toradians(180) //returns 3.141592653589793