The number 123040 (one hundred twenty-three thousand forty) is written in Roman numerals as follows: CXXIIIXL