The number 164840 (one hundred sixty-four thousand eight hundred forty) is written in Roman numerals as follows: CLXIVDCCCXL