comments and removed unused variables

This commit is contained in:
Mikayla Fischler
2024-10-14 12:12:35 -04:00
parent 60ff22f57d
commit 440989aed6
3 changed files with 11 additions and 16 deletions

View File

@@ -248,7 +248,7 @@ return function (args)
local NumberField, id = e.complete(true)
-- get the numeric value of this field
---@return number
---@return number value the value, or 0 if not a valid number
function NumberField.get_numeric()
return tonumber(e.value) or 0
end