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