The number 940171 (nine hundred forty thousand one hundred seventy-one) is written in Roman numerals as follows: CMXLCLXXI