Question Detail
Question
When using Python's
int(x) function for numeric conversion, how is the decimal portion handled?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 43, in the 'Numeric Operations' table for 'Integer Conversion', specifies: "The decimal portion is truncated, not rounded."
Hint
Look at the 'Integer Conversion' row in the 'Numeric Operations' table.