Skip to main content
Version: 8.1

sin

This function is used by Ignition's Expression language.

Description

Returns the trigonometric sine of number, which is interpreted as an angle expressed in radians. The results will be a floating point value.

Syntax

sin(number)

  • Parameters

    • Integer/Float number - The number to get the sine of.
  • Results

    • Integer/Float - The sine of the number provided.

Examples

Code Snippet
sin(1.89) //returns 0.9495