The number 240023 (two hundred forty thousand twenty-three) is written in Roman numerals as follows: CCXLXXIII