2,875
edits
m (Round where data is formatted for output instead) |
m (Check if the table value is a number based on tonumber) |
||
Line 53: | Line 53: | ||
row:tag("th"):wikitext(header) | row:tag("th"):wikitext(header) | ||
local numValue = tonumber(value) | |||
if numValue and numValue < 0 then | |||
cell:css('color', 'red'):wikitext(value) | cell:css('color', 'red'):wikitext(value) | ||
else | else |
edits