The number 19840 (nineteen thousand eight hundred forty) is written in Roman numerals as follows: XIXDCCCXL