5898870 in words is written as :

Five Million Thousand Eight Hundred and Seventy