WoW:API tonumber
Jump to navigation
Jump to search
- Arguments
- tonumber(text)
- text (string) - this value will be converted to a numeric value.
- Returns
- The argument as a numeric value or nil if the value cannot be converted.
- Examples
tonumber("123") --Returns 123
tonumber("argqerg") --Returns nil