The number 840638 (eight hundred forty thousand six hundred thirty-eight) is written in Roman numerals as follows: DCCCXLDCXXXVIII