17870 in words is written as :

Seventeen Thousand Eight Hundred and Seventy