The number 840138 (eight hundred forty thousand one hundred thirty-eight) is written in Roman numerals as follows: DCCCXLCXXXVIII