Back to Problem Solutions forum
the function of calculating the contribution period of validity math.log(R/S, 1+P/100)
R=25 S=375 P=1
We get results - 272.1567997148549
Round upward - 273
But the right answer shows 274
Why?
I tried several times. Continuing from the entire set of 1 - 3 variants wrong for the same reason
For S=25 R=375 P=1 my code agrees with the answer 274.
At the end of each year are you rounding down to whole cents?
No. Once considered by the formula. I'll try. Thank you!