Compound formula without decimals

42 Views Asked by At

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?

Thanks!