The number 100842 (one hundred thousand eight hundred forty-two) is written in Roman numerals as follows: CDCCCXLII