The number 840872 (eight hundred forty thousand eight hundred seventy-two) is written in Roman numerals as follows: DCCCXLDCCCLXXII