1279217 in words is written as :

One Million Thousand Two Hundred and Seventeen