The number 840172 (eight hundred forty thousand one hundred seventy-two) is written in Roman numerals as follows: DCCCXLCLXXII