FANDOM


tonumber() -Documentation by Two-

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

Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.