The number 998227 (nine hundred ninety-eight thousand two hundred twenty-seven) is written in Roman numerals as follows: CMXCVIIICCXXVII