The number 25840 (twenty-five thousand eight hundred forty) is written in Roman numerals as follows: XXVDCCCXL