The number 87840 (eighty-seven thousand eight hundred forty) is written in Roman numerals as follows: LXXXVIIDCCCXL