Module:HeroDataArrays: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 31: Line 31:
-- Helper function to round numeric values
-- Helper function to round numeric values
local function roundValue(value)
local function roundValue(value)
     if type(value) == "number" then
     -- if type(value) == "number" then
        return util_module.round_to_sig_fig(value, 3)
    --    return util_module.round_to_sig_fig(value, 3)
     end
     -- end
     return value
     return value
end
end