The number 240254 (two hundred forty thousand two hundred fifty-four) is written in Roman numerals as follows: CCXLCCLIV