Why is the genitive in animate form (I see that it says one friend)? I didn't think the genitive had a animate form. wouldn't you say for example: один книги?

Edit: I just looked ahead in my book and found why. I just haven't gotten that far yet. Thanks for the help!

So would these sentences be right: Я вижу двадцать четыре доллара
Я вижу двадцать пять доллар