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