The number 27840 (twenty-seven thousand eight hundred forty) is written in Roman numerals as follows: XXVIIDCCCXL