The number 870040 (eight hundred seventy thousand forty) is written in Roman numerals as follows: DCCCLXXXL