The number 12340 (twelve thousand three hundred forty) is written in Roman numerals as follows: XIICCCXL