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