The number 940164 (nine hundred forty thousand one hundred sixty-four) is written in Roman numerals as follows: CMXLCLXIV