10399040 in words is written as :

Ten Million Thousand Forty