The number 317540 (three hundred seventeen thousand five hundred forty) is written in Roman numerals as follows: CCCXVIIDXL