The number 34540 (thirty-four thousand five hundred forty) is written in Roman numerals as follows: XXXIVDXL