The number 22840 (twenty-two thousand eight hundred forty) is written in Roman numerals as follows: XXIIDCCCXL