Heya all,
For a MMORPG World of Warcraft im trying to write a lib. Money in that games is stored as an Integer and in game currency is not an integer it's based of Gold, Silver and Copper coins.
Every 100 copper is 1 silver and every 100 silver is 1 gold.
Now I need to convert such an integer to the WoW Money format: for example
123123 should return:
23c 31s 12g
Anyone knows how to do this