The number 842027 (eight hundred forty-two thousand twenty-seven) is written in Roman numerals as follows: DCCCXLIIXXVII