O número 40787 (quarenta mil e setecentos e oitenta e sete) é escrito em algarismos romanos da seguinte maneira: XLDCCLXXXVII