expr – a simple calculator that supports LUA expressions
/x - evaluates an expression and prints output to the chat window
Addon Details
Expansion
Categories
Developers
Having issues?
expr
A simple calculator that takes a Lua expression as an argument and prints the result as a system message in your chat window.
Usage: /x <expression>
Examples:
Input: /x 50 * 35
Output: 50 * 35 = 1750
Input: /x 30 / 20
Output: 30 / 20 = 1.5
Input: /x sqrt(144)
Output: sqrt(144) = 12
Compatibility
Uses very basic Lua only, and only one function from the WoW API. There is no reason this should not be compatible with every version of the game, but it has only been tested in Warlords of Draenor through The War Within, as well as Classic (1.13+)
Feel free to post any bugs, suggestion or problems in the comments below.
More addons for Legion
Discover other addons that might interest you
PhanxBind
Direct key bindings for your spells and macros.
RollBot (Discontinued)
Makes /roll-based loot-systems more comfortable
[Deprecated] DBM Voicepack VEM
Previously known as default voicepack for Voice Encounter Mods(VEM)
DFMinimap
Make your minimap like Dragonflight
WoW Money Statistics
View Statistics on Gold Usage
Ackis Recipe List: Enchanting
Enchanting data for Ackis Recipe List.
HideLvl
Hides the level icon in default unit frames
KuiNameplates
Prettier nameplates.