The number 27838 (twenty-seven thousand eight hundred thirty-eight) is written in Roman numerals as follows: XXVIIDCCCXXXVIII