The number 318840 (three hundred eighteen thousand eight hundred forty) is written in Roman numerals as follows: CCCXVIIIDCCCXL