1295871 in words is written as :

One Million Thousand Eight Hundred and Seventy One