The number 940227 (nine hundred forty thousand two hundred twenty-seven) is written in Roman numerals as follows: CMXLCCXXVII