The number 318540 (three hundred eighteen thousand five hundred forty) is written in Roman numerals as follows: CCCXVIIIDXL