Module:Number table sorting/sandbox: Difference between revisions

Content deleted Content added
deal with empty value
No edit summary
Line 73:
end
-- allow for empty string as a value
if self.number == nil then
self.number = NEGINF
end
 
if not self.number then
-- error(string.format(
-- "'%s' is not a valid number",
-- tostring(s)
-- ), 0)
if self.number == nil thenNEGINF
end