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
BenikUI – The ElvUI Edit
BenikUI is a memory friendly decorative addon for ElvUI
Target Nameplate Indicator
Puts a texture on your target's nameplate to make them stand out. Configure by editing…
Postal
Postal: Enhanced Mailbox support
Hide Increase Backpack Button
hides the little plus in your backpack
Titan Panel [Currency]
Titan Panel [Currency]
DBM – Deadly Boss Mods (DBM-Core)
The ultimate encounter helper to give you fight info that's easy to process at a…
newChatBar
The new Button Bar for opening chat messages of each type
Garrison Order Hall Report
Allows you to see older Garrison Reports on Right Click or Middle Click