This shows you the differences between two versions of the page.
function_format [2018/08/07 09:51] Niek created |
function_format [2018/08/18 09:36] (current) Niek bugfix |
||
---|---|---|---|
Line 25: | Line 25: | ||
if tonumber(b) == nil then | if tonumber(b) == nil then | ||
- | error(string.format("FORMAT argument #2 expected number, \"%s\" given", type(a))); | + | error(string.format("FORMAT argument #2 expected number, \"%s\" given", type(b))); |
end | end | ||