Question Detail
Question
Which Python function converts a numeric value to an integer, truncating the decimal portion without rounding?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 43, in the 'Numeric Operations' table, states that 'int(x)' 'Converts the numeric value of x to an int. The decimal portion is truncated, not rounded.'
Hint
Refer to the 'Numeric Operations' table on page 43 for conversion functions.