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