I solved your other problem for you. This time, show some work to get some help. Also, your second question has a close parenthesis at the end, but no matching open parenthesis.
??? There are NO "decimals" in that formula. But what is your question or difficulty? his is basically integer arithmetic. Do you know what is? What about . We can't help without knowing what you can do and what you do understand about this.