The number 940864 (nine hundred forty thousand eight hundred sixty-four) is written in Roman numerals as follows: CMXLDCCCLXIV