Jump to content

Module:Repeat symbols

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Erik Zachte (talk | contribs) at 19:48, 16 September 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}
 
function p.hello( frame )
    a = frame.args[1] ;
    div10 = a % 10 ;
    mod10 = math.floor (a/10) ; 
    return a .. '|' .. div10 .. '|' .. mod10
end
 
return p