Math

Abandoned
Mini calculator

A simple command line calculator.

Accepts any valid combination of 0-9, +, -, *, /, decimals (.), and parenthesis (). Passing an equation that begins with an operator (+,-,*,/) will treat the equation as starting with the previous answer. White space is ignored.

Includes rudimentary support for exponents. Due to limitations, cannot handle exponents combined with parenthesis. (5+3)^2 or 2^(5+3) will fail silently.

Assumes multiplication for parenthesis lacking an operator.

Examples:

/math 4 + 10
Math: 4 + 10 = 14

/math / 7
Math: 14 / 7 = 2

/math *2+4/ (5-3)
Math: 2 *2+4/ (5-3) = 6

/math 2^8
Math: 2^8 = 256

/math (12-2)4
Math: (12-2)4 = 40

The Math Team

profile avatar
  • 4
    Projects
  • 124.1K
    Downloads

More from _ForgeUser1457759

  • Automaton project image

    Automaton

    • 112.2K
    • Addons

    Reduces interface tedium by doing the little things for you.

    • 112.2K
    • August 28, 2012
    • Addons
  • VendorVision project image

    VendorVision

    • 2.2K
    • Addons

    Adds an icon to the best vendor option for quest rewards

    • 2.2K
    • August 28, 2012
    • Addons
    • +1
  • LinkIcon project image

    LinkIcon

    • 5.0K
    • Addons

    Adds an icon to item, spell, and achievement links

    • 5.0K
    • August 28, 2012
    • Addons
  • Automaton project image

    Automaton

    • 112.2K
    • Addons

    Reduces interface tedium by doing the little things for you.

    • 112.2K
    • August 28, 2012
    • Addons
  • VendorVision project image

    VendorVision

    • 2.2K
    • Addons

    Adds an icon to the best vendor option for quest rewards

    • 2.2K
    • August 28, 2012
    • Addons
    • +1
  • LinkIcon project image

    LinkIcon

    • 5.0K
    • Addons

    Adds an icon to item, spell, and achievement links

    • 5.0K
    • August 28, 2012
    • Addons