The number 118842 (one hundred eighteen thousand eight hundred forty-two) is written in Roman numerals as follows: CXVIIIDCCCXLII