method

int

int(str)
public

Converts a String to an Integer

See also String.to_i