The number 7840 (seven thousand eight hundred forty) is written in Roman numerals as follows: VIIDCCCXL