Skip to main content
Version: Next

Math Functions

Perform the specified math operation.

Description

Performs the named mathematical function, such as cos, sqrt, etc.

See <a href="https://www.w3schools.com/js/js_math.asp" target="_blank">JavaScript Math</a> for the list of available functions.

Inputs

  • function name (String): The name of the mathematical function to perform.
  • input (Number): The input value.

Outputs

  • result (Number): The result.