1007087 in words is written as :

One Million Seven Thousand Eighty Seven