The number 313840 (three hundred thirteen thousand eight hundred forty) is written in Roman numerals as follows: CCCXIIIDCCCXL