The number 945838 (nine hundred forty-five thousand eight hundred thirty-eight) is written in Roman numerals as follows: CMXLVDCCCXXXVIII