Help

SimpleCalc - A simple mathematical calculator

Miscellaneous Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 6 Downloads
  • Supports: 4.3
  • 0 Average Daily Downloads
  • Comments
  • Created 7/3/2008 7:49:13 AM
  • Updated 1/24/2012 12:36:29 PM
  • 32 Favorites
  • Project Site
  • License: MIT License
  • Release Type: Release
  • Newest File: Simplecalc v0.6a
or
Support development! **
Donate

About SimpleCalc - A simple mathematical calculator

SimpleCalc is a simple mathematical calculator addon for World of Warcraft. In essence, it's a slash-based utility which allows you to do maths!

Example usage and response:

/calc 10415 - 9843 + 12
[SimpleCalc] 10415 - 9843 + 12 = 584

A selection of in-game values has been added to make life easier when doing certain calculations. You can use keywords in place of numbers for the following values:


  • honour or honor - Total honour points available to spend

  • justice or jp - Total justice points available to spend

  • valor or vp - Total valor points available to spend

  • conquest or cp - Total conquest points available to spend

  • vpcap - Amount of valor that can be earned that week

  • cpcap - Amount of conquest that can be earned that week

  • achieves or ap - Your total achieve points

  • health - Your maximum Health points

  • mana - Your maximum Mana points

  • gold - Total gold (1g 50s would be displayed as 1.5 gold)

  • silver - Total silver (1g 50s would be displayed as 150 silver)

  • copper - Total copper (1g 50s would be displayed as 15,000 copper)

For example:

/calc 1650 + 2200 - honour
[SimpleCalc] 1650 + 2200 - honour = 3078

Support for user defined variables was added in version 0.4. Variables persist across sessions, so you can save values for later use really easily. To save a value or calculation:

/calc x = 1024
-or-
/calc x = 32 * 2 + 64

SimpleCalc works on equations left to right, so '10 * 3 + 2' would be broken down into two sums: '10 * 3', then '30 + 2'. Support for brackets is not yet in place, but this shouldn't affect every day calculations.

Comments, suggestions and bug reports are most welcome!

  • Removed /gamesleft until I can get it mathed out properly

Comments

First Previous Page 1 of 2 Next Last
  • #30

    Not requiring a space would be really really nice. Another feature request:

    Could you make x (if it is not used as a variable) be the latest result ?

    For example:

    /calc 5+5 = 10

    /calc x+5 = 15

     

    And maybe a shorter  /cmd like  /c or /ci ?

  • #28

    not requiring a space would be nice... you could do a string replace for all the common math functions with the function with spaces and then do a search for double spaces.

    gsub(input, '+', ' + ');
    gsub(input, '-', ' - ');
    gsub(input, '*', ' * ');
    gsub(input, '/', ' / ');
    gsub(input, '  ', ' '); 

     the /gamesleft seams a little erelvent to the addon but can we get a /rdfleft also that takes into account lfr if its been done say '2 LFR + 3 RDF or 1 LFR + 5 RDF or 7 RDF'

    Last edited by scotepi on 1/16/2012 7:42:23 PM

    --

    find me on twitter @scotepi

  • #29

    Not requiring a space is actually a good idea and I'll be looking into implementing that.

     

    The gamesleft feature was something simple I threw together and actually needs some more work.

    My intention is to eventually make it into it's own addon, complete with RBG caps and Valor caps.

  • #27
    GUI?
  • #26
    can we get a ToC bump to 4.0.3 please

    --

    find me on twitter @scotepi

  • #25
    Is there a way to add and subtract the gold, silver, and copper values. For example how do I subtract 5g 50s 34c from 10g. I tried to put it in like this... calc/ 10g - 5g 50s 34c, but it gives me an error. How do you and and subtract money?
  • #24
    Very very handy!
    I'd also like an GUI ;-) Just like Windows Calculator but in WoW style or something:P
  • #23
    very handy mod :) hope to see a GUI as planned soon. I can't type for crud so a simple calculator numpad and display would ROCK!
  • #22
    Any chance you could add some variable for reputation for example x could be the current rep you have for the rep you are currently tracking. Just a suggestion :)
  • #21
    Great addon thanks, saves me from opening windows calculator and doing math on that :).

    Rated 5/5
  • #20
    great mod. Only thing I miss is a kind of variable for the last result. For Example:

    /calc 5+5
    [calc] 5+5 = 10

    and now the result is stored as a variable for future use (eg: x):

    /calc x+5
    [calc] x+5 = 15


    would be very cool.
  • #18
    SimpleCalc 0.4 released with variable support! Thanks for the suggestions, and keep them coming! Next development target is to implement the shunting yard algorithm, then on to the GUI!
  • #17
    yeah a gui would be superior^^
  • #16
    Lovely addon, I don't suppose theres any chance in making a window and buttons for it?
  • #15
    I would love to be able to set variables which would be saved between game exits and game start-ups..

    I often use percentage values, so it would be nice to be able to use "Var_Name" in pace of 0.87 as an example
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!