Module:ChangePerDay/doc

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search

This is the documentation page for Module:ChangePerDay

This is a documentation subpage for Module:ChangePerDay.
It contains usage information, categories, and other content that is not part of the original module page.
Module:ChangePerDay requires Module:Number.
Function list
L 9 — p._change

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.

FunctionTypeUse
_changetableDetermines the percent change in price (from last) over a given time interval. The args table expects the following parameters:
  • @param args[1] number price parameter. defaults to 1
  • @param args[2] number last price parameter. defaults to 1
  • @param args[3] string start date. defaults to 'January 1'.
  • @param args[3] string last date. defaults to 'July 1'.