The number 166979 (one hundred sixty-six thousand nine hundred seventy-nine) is written in Roman numerals as follows: CLXVICMLXXIX