The number 842788 (eight hundred forty-two thousand seven hundred eighty-eight) is written in Roman numerals as follows: DCCCXLIIDCCLXXXVIII