The number 842023 (eight hundred forty-two thousand twenty-three) is written in Roman numerals as follows: DCCCXLIIXXIII