From Old School RuneScape Wiki
Jump to: navigation, search

This is the documentation page for Module:Currency

Information icon-grey.svg
This is a documentation subpage for Module:Currency.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Currency's function nocoins is invoked by Template:NoCoins.
Module:Currency is required by Module:Average drop value.
Module:Currency is required by Module:GEMinMax.
Module:Currency is required by Module:Mmgtable.
Module:Currency is invoked by Template:Coins.

Formats many types of currency.

This module is a helper module to be used by other modules; it may not be designed to be invoked directly. See RuneScape:Lua/Helper modules for a full list and more information.

Currency_amount(num, type)stringTakes the number and formats it with the currency type (coins, nocoins).