1295877 in words is written as :

One Million Thousand Eight Hundred and Seventy Seven