Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:View/Expedition
(view source)
Revision as of 16:50, 18 July 2019
21 bytes added
,
5 years ago
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