- Version
- Download 21
- File Size 12.95 KB
- File Count 1
- Create Date January 20, 2017
- Last Updated January 20, 2017
Xcalc
Xcalc is a fairly basic calculator that allows mathematical equations to be entered via the console or by using the GUI calculator interface.
Xcalc is based off of QuickCalc by Mark Ribau. A good portion of the code has been rewritten, and the GUI has been completely rewritten.
Usage
slash commands
/xcalc
/calc
/=
Clicking the minimap icon or typing the command without parameters opens the xcalc GUI.
Numpad keys can be remapped to the calculator keys when the GUI is visible if that option is selected.
Shift-Enter with the GUI visible opens chat and Shift-Click on result inserts it to chat editbox.
Xcalc supports computing expressions from the command line.
This is accessed by typing out one of the slash commands with the expression following the slash command.
Math operators
+ - * / ^ ( )
Special Keyword:
ans - Will return the last answer given from using the slash commands
Math Functions
Reference at Wowpedia.
Money strings
#.#g
#.#s
#c
#g#s#c
#g#s
#g#c
#s#c
Examples
/calc 2 + 2
xcalc Result: 2 + 2 = 4
/calc 3.5g
xcalc Result: 3.5g = 3g50s
/calc (3.5g + 50s) * 2
xcalc Result: (3.5g + 50s) * 2 = 8g
/calc 4g / 5
xcalc Result: 4g / 5 = 80s