Get an Epic Experience with Premium

Pocket Gnome

Auction & Economy Login to Add Favorites
  • World of Warcraft
  • 29 Monthly Downloads
  • Supports: 5.4.1
  • 2,374 Total Downloads
  • Updated 11/04/2013
  • Created 10/17/2010
  • 10 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: Apache License version 2.0
  • Newest File: r9
Support development! **

About Pocket Gnome

A gnome sized calculator with gnome sized calculating power! (that's a good thing). Using the advanced Gnomatron Unified Interface (GUI), it makes math fun!

Using PocketGnome

To open up the lil' gnomish device, type /pocketgnome or simply /pg. You can enter just about any regular math into it, as well as set your own variables:

1 + 2 - 3 * 4 + pi / sqrt(log(300)) -- works!
x = 4 * pi -- set x to 4 pi
12 * x -- results in 12 * 4 * pi
answer + 2^4 * e^3%1 -- does some math with 'answer', which refers to the previous result.

Use the escape key to clear the text field (or close the calculator) and just press enter on an empty field to repeat the previous calculation (fx. answer*2 followed by an empty field would yield answer*2*2 and so on).

Math functions

function calls: abs, cos, sin, tan, acos, asin, atan, sqrt, floor, ceil, round, log, ln, deg, rad

special values: pi, e, answer

control chars: + - / * % ^

2013-11-04  humbedooh  <humbedooh>

[ef6d6c03d40d] [tip]
* PocketGnome.toc

Updating TOC

2011-02-25  Humbedooh  <Humbedooh>

* PocketGnome.lua

- Ticket #3: Fixed a visual bug where long equations (>23 characters) would bug out the result window.
- Made the result window 1 line longer.

2011-02-25  root  <root@db06.curselive.local>

* .hgtags:

Tagging as b7

2011-02-19  root  <root@db06.curselive.local>

[860d402dfa50] [b7]
* .hgtags:

Bumping for 4.0.6

2010-11-27  Humbedooh  <Humbedooh>

* PocketGnome.lua

Added a minimize/maximize button
Pressing escape on an empty field now removes focus from the window instead of closing it

2010-10-18  Humbedooh  <Humbedooh>

* PocketGnome.lua

Removed bloatiness and redundant API calls.
trimmed entire addon down to 75 lines of mrrrgl, just because I felt like it.

* PocketGnome.lua

forgot to add abs() :<

* PocketGnome.lua

Added an output window
Added e, sqrt, rad, deg and others.
Added support for custom values (fx. abc = 2/pi)

2010-10-17  Humbedooh  <Humbedooh>

* PocketGnome.lua

Basic math support (all the usual math crap)
/pocketgnome or /pg opens the lil' calculator
Stuff is still restricted to the chat frame output.

* .pkgmeta, PocketGnome.toc

Initial commit without anything awesome.


Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway