The number 42840 (forty-two thousand eight hundred forty) is written in Roman numerals as follows: XLIIDCCCXL