The number 945172 (nine hundred forty-five thousand one hundred seventy-two) is written in Roman numerals as follows: CMXLVCLXXII