This method converts the string into an integer value.
function string:ToInt() => number
Returns an integer value.