If your string contains a decimal integer and you want to convert it to an int, simply provide it to the int() method, which will convert it to a decimal integer equivalent.