The number 942838 (nine hundred forty-two thousand eight hundred thirty-eight) is written in Roman numerals as follows: CMXLIIDCCCXXXVIII