1295831 in words is written as :

One Million Thousand Eight Hundred and Thirty One