1,131
edits
No edit summary |
No edit summary |
||
| Line 186: | Line 186: | ||
function showCurrencyAmount(currency, amount) | function showCurrencyAmount(currency, amount) | ||
mw.log("Show currency amount", amount) | mw.log("Show currency amount", amount) | ||
local formatted = string.format('%s [[%s]]', commas._add(amount), currency) | |||
mw.log("returning", formatted) | |||
return formatted | |||