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