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