math package

Description

The 'math' package includes a single function that imports a string and evaluates the mathematical equation.

  • 1 function

'math' function

  • Imports a string.
  • Exports a integer or real number.

The 'math' function imports a string and evaluates the math equation. Uses @griffpatch's engine. Supports addition, subtraction, brackets, powers, multiplication, division, square root, sine, cosine and logarithm. Exports a value, or causes a program crash if evaluation failed.

math [string]

[variable] & math [string]