The number 940017 (nine hundred forty thousand seventeen) is written in Roman numerals as follows: CMXLXVII