The number 945042 (nine hundred forty-five thousand forty-two) is written in Roman numerals as follows: CMXLVXLII