I am trying to write a compound formula in a programming language that doesn't have decimal places.
For something that I thought was going to be simple... I seem to be struggling a bit...
Using Excel as a test area I have written;
1 * (1 + 0.0025) ^ 2212
Which equals $250.4$ (rounded).
I'm struggling to write this without the $0.0025$ (representing $0.25\% $). Is there a way I can multiply this equation out so that I don't have to use $0.0025$ to represent $0.25\% $?
For example, have $0.25\% $ represented as $25$?
I have tried;
1 * (1 + 25 / 10000) ^ 2212
and
10000 * (10000 + 25) ^ 22120000;
And these do not work.
Any help would be much appreciated.
Thanks!