The number 187872 (one hundred eighty-seven thousand eight hundred seventy-two) is written in Roman numerals as follows: CLXXXVIIDCCCLXXII