1006371 in words is written as :

One Million Six Thousand Three Hundred and Seventy One