The number 840862 (eight hundred forty thousand eight hundred sixty-two) is written in Roman numerals as follows: DCCCXLDCCCLXII