90164 in words is written as :

Ninety Thousand One Hundred and Sixty Four