1000187 in words is written as :

One Million One Hundred and Eighty Seven