The number 840942 (eight hundred forty thousand nine hundred forty-two) is written in Roman numerals as follows: DCCCXLCMXLII