When converting a few string values to integers with int() I found out that trying to convert "2.1", i.e. a string that represents a floating point value to an integer raises an exception. Why does this raise an exception while something like float("9") does not?