The number 940502 (nine hundred forty thousand five hundred two) is written in Roman numerals as follows: CMXLDII