The number 9840 (nine thousand eight hundred forty) is written in Roman numerals as follows: IXDCCCXL