1006582 in words is written as :

One Million Six Thousand Five Hundred and Eighty Two