Because the computer that they use to display the answers that they then print out has only truncated the number instead of rounding it. Your answer is correct.
What exactly is the statement of the problem? If the problem said "round to three decimal places" then what you have is correct. But if it just said "round to three digits", then the correct answer is just "271". Those are also "three digits".