The number 864040 (eight hundred sixty-four thousand forty) is written in Roman numerals as follows: DCCCLXIVXL