The number 940512 (nine hundred forty thousand five hundred twelve) is written in Roman numerals as follows: CMXLDXII