The number 842038 (eight hundred forty-two thousand thirty-eight) is written in Roman numerals as follows: DCCCXLIIXXXVIII