WoW:API GetMoney: Difference between revisions

automated edit; replacing old currency templates with Template:Cost
(automated edit; replacing old currency templates with Template:Cost)
Line 28: Line 28:
  [Player] says: I have 1112233 copper.
  [Player] says: I have 1112233 copper.


Assuming the player has {{gsc|111|22|33}}.
Assuming the player has {{Cost|g=111|s=22|c=33}}.


== Example 2 ==
== Example 2 ==
Line 42: Line 42:
  [Player] says: [Money Pouch] contains 111.2233 gold.
  [Player] says: [Money Pouch] contains 111.2233 gold.


Assuming the player has {{gsc|111|22|33}}.
Assuming the player has {{Cost|g=111|s=22|c=33}}.


By deviding with 10000 you get a result in gold. The decimals behind the dot are the silver and the copper.
By deviding with 10000 you get a result in gold. The decimals behind the dot are the silver and the copper.
Anonymous user