The number 1238 (one thousand two hundred thirty-eight) is written in Roman numerals as follows: MCCXXXVIII