The number 90842 (ninety thousand eight hundred forty-two) is written in Roman numerals as follows: XCDCCCXLII