The number 18238 (eighteen thousand two hundred thirty-eight) is written in Roman numerals as follows: XVIIICCXXXVIII