The number 145942 (one hundred forty-five thousand nine hundred forty-two) is written in Roman numerals as follows: CXLVCMXLII