The number 940564 (nine hundred forty thousand five hundred sixty-four) is written in Roman numerals as follows: CMXLDLXIV