Module:Primes in edo fs: Difference between revisions

Xenwolf (talk | contribs)
m (... was already done)
Xenwolf (talk | contribs)
make fs parameter accept defined switches: 1 as number and 1 as string
Line 163: Line 163:
   local prec = eval_num_arg(frame.args['prec'], prec_by_edo(edo))
   local prec = eval_num_arg(frame.args['prec'], prec_by_edo(edo))
   -- option to show fifthspan information, default: false
   -- option to show fifthspan information, default: false
   local fs = frame.args['fs'] or false
   local fs = (frame.args['fs'] == 1) or (frame.args['fs'] == '1') or false
   return edoprox( edo, {unpack(primes, start, start+columns-1)}, title, prec, fs)
   return edoprox( edo, {unpack(primes, start, start+columns-1)}, title, prec, fs)
end
end


return p;
return p;