Module:HeroDataArrays: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Manual revert |
||
| Line 30: | Line 30: | ||
-- Helper function to round numeric values | -- Helper function to round numeric values | ||
local function roundValue(value) | |||
if type(value) == "number" then | |||
return util_module.round_to_sig_fig(value, 3) | |||
end | |||
return value | |||
end | |||
-- Round to an integer (up to 2 digits) | -- Round to an integer (up to 2 digits) | ||