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
Bonk Track
Track your /bonks
LibUIDropDownMenu
A Replacement for standard UIDropDownMenu
DBM Countdown Pack: Mario Kart
DBM Countdown sound pack with the Mario Kart race countdown sound effect.
RP Emotes
A Lightweight custom emote addon
Titania’s Media
Media bundles for Titania's WeakAuras
HandyNotes: TravelGuide
Displays the portal, boat and zeppelin locations on the world map and minimap.
ComboBreaker
Fun combo counter for Windwalker Monk with flavor texts.
NiceColoredNames
NiceColoredNames