2040009 in words is written as :

Two Million Forty Thousand Nine