1234558171 in words is written as :

One Billion Million Thousand One Hundred and Seventy One