10002004 in words is written as :

Ten Million Two Thousand Four