How to calculate the Integer portion of a fraction using only +, -, and *?
I made something in excel that calculates the days left until a given date, and from that how many weeks were left. I had it so that 9 days displayed as 1.2 using this formula:
Where B is the "base" you are counting in and A is the number you are trying to count.
This all works and the question is purely for personal interest only.
So, Is there a way to calculate the Integer portion of a fraction only using the operators +, -, and *? Thanks In Advance