Skip to main content
Returns the result of a math.js expression that is executed on a remote server.

Parameters

This variable takes one required parameter that is a supported mathematical expression.

Example Output

  • $(math 1 + 1)
  • $(math a = 5.08 cm + 2 inch)

Error Output

  • In case no expression is provided, returns the following:
  • In case an invalid expression is provided, returns the following: