This mod adds a basic calculator that allows mathematical equations to be entered via the console or by using the GUI calculator interface.
Xcalc is a fairly basic calculator that allows mathmatical 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.
Installation
------------------
Extract the zip and put the xcalc folder into
World of WarcraftInterfaceAddOns
**WARNING**
v2.0 File structure is incompatible with v1 make sure you delete any previous version you may have.
Usage
----------------
slash commands:
/xcalc
/calc
/=
there is a = minimap icon that will all open the GUI interface.
also of importance xcalc will rebind your all your numberpad keys to the gui interface when the Gui
is open so it is not necessary to bind those keys. the GUI will rebind the numberpad keys back to
their original bindings when the window closes. With the GUI open use shift enter to open the chat
dialog, and you can shift left click on the number window to output that to the chat dialog if it is
open.
Xcalc does support computing of expressions from the command line. This is accessed by using the
slash commands with the expression after the slash command.
Math operators:
- * / ^ ( )
Special Keyword:
ans -- Will return the last answer given from using the slash commands
Math Functions:
abs() acos() asin() atan() atan2(,) ceil() deg() floor() frexp() ldexp() exp() log() log10() min([,...])
max([,...]) mod(,) rad() random([[,] ]) randomseed() sqrt() cos() sin() tan()
Please see Wowwiki.com for more information on the math functions.
Money strings:
#.#g
#.#s
#c
#g#s#c
#g#s
#g#c
#s#c