The number 27870 (twenty-seven thousand eight hundred seventy) is written in Roman numerals as follows: XXVIIDCCCLXX