When using the battle.net API amounts of currency (like how much money you have, or how much a buyout for an auction item is) are displayed as a simple amount of copper (example: 174056); And that's not human readable.
So, I made a little baby function to format into either g s c or the padded version (adds a 0 in front of silver and copper if it's a single digit).
Hope someone needs this eventually :)