Analyze Hacker News Trends Project Step 4

I noticed that in order to calculate the percentage needed for Step 4, a decimal must be used in the divisor but none of the numbers that make up the dividend. I’m confused as to why this is because all numbers in the function are whole numbers. Attached is a screenshot and the link to the project.

Link to project:

Thank you!