• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 138: Line 138:     
local function formatAmount(n, time)
 
local function formatAmount(n, time)
 +
  if not time then
 +
    return n
 +
  end
 
   n = tonumber(n)
 
   n = tonumber(n)
   if not n or not time then
+
   if not n then
     return n or '??'
+
     return '??'
 
   end
 
   end
 
   return tostring(U.round(60 * n / time))
 
   return tostring(U.round(60 * n / time))
cssedit, gkautomate
7,064

edits

Navigation menu