The number 317940 (three hundred seventeen thousand nine hundred forty) is written in Roman numerals as follows: CCCXVIICMXL