The number 840742 (eight hundred forty thousand seven hundred forty-two) is written in Roman numerals as follows: DCCCXLDCCXLII