2887012 in words is written as :

Two Million Thousand Twelve