-- For unit tests, see local p = digit =
function p.convert(frame) converted = "" for i=1,5 do if (#frame.args[1]>=i) then converted = converted .. digit[i][1+tonumber(string.sub(frame.args[1],i,i))] end end return convertedendreturn p
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Module:NSW GNR".
Except where otherwise indicated, Everything.Explained.Today is © Copyright 2009-2024, A B Cryer, All Rights Reserved. Cookie policy.