The number 240172 (two hundred forty thousand one hundred seventy-two) is written in Roman numerals as follows: CCXLCLXXII