Changes

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

edits