Module:Calculator/ETA: Difference between revisions

m
Allow currentExp to be entered with a suffix
m (Replace Shared module with Number module)
m (Allow currentExp to be entered with a suffix)
Line 55: Line 55:
local args = frame:getParent().args
local args = frame:getParent().args
local currentExp = number.toNumberOrDefault(args.currentExp, 0)
local currentExp = number.parseNumber(args.currentExp)
local currentLvl = number.toNumberOrDefault(args.currentLvl, 0)
local currentLvl = number.toNumberOrDefault(args.currentLvl, 0)


2,875

edits