There is an add-on called [Only registered and activated users can see links. ]. I can honestly say, this is the most useful add-on I've ever laid my hands on. It's basically an ingame calculator you can operate through a GUI or with command lines. It'll calculate gold, silver and copper, and it even deals with formulas. (5(5*1)+6*9 and so on).
As I said, you can use it to calculate gold, an example: 5213g52s91c-2151g10s91c and you'll get the answer in g, s and c. You can even change that '-' to a '+', a '/' or a '*'.
The /print command comes with any mod that uses the Ace2 or Rock libraries. There are also mods like DevTools that add similar slash commands such as /dump.
Good to see someone else has been trolling the Blizzard UI & Macro Forum.
__________________
AddOn developer and long time explorer.
R.I.P _Corpse: My Most Underrated Addon