The number 940507 (nine hundred forty thousand five hundred seven) is written in Roman numerals as follows: CMXLDVII