The number 840242 (eight hundred forty thousand two hundred forty-two) is written in Roman numerals as follows: DCCCXLCCXLII