1007187 in words is written as :

One Million Seven Thousand One Hundred and Eighty Seven