The number 166840 (one hundred sixty-six thousand eight hundred forty) is written in Roman numerals as follows: CLXVIDCCCXL