lol, Sure, why not ask also Terence Tao and Andrew Wiles about this hard "Millennium" problem
> "My method"
>And: I wonder if there exist a math formula that covers all cases (incl. negative values) of such percent calculations.
The page(s) about "percentage" at Wikipedia don't even mention any negative numbers, so they were useless in this case. :-(
So we gather you have invented a "new"
original method to define the "relative change" with respect to a given reference point. The standard definition you can find on Wikipedia (valid of
any x) of course would not do for you:
https://en.wikipedia.org/wiki/Relative_change_and_difference :
"
"
(with x_reference different from 0)
Would you care to describe your new "invention", and the reason why one would need it over the standard definition?
If you implement a new definition of relative/ percentage change in a program, you will need to explain to the users how it works, the meaning and the motivation. Or they may even arrive to suspect that you skipped elementary school classes and are struggling with most basic arithmetics
> How much do you get for p_quarterly?
The definition holds for any x real. So you can select x wherever you want on the real line (for instance, after k "quarters", k=0,1,2,3,4).
If you mean that x is not known within (or beyond) two distinct given points, one of which (different from 0) is taken to be a "reference", it can be interpolated, clearly based on arbitrary assumptions (linearity, interest rate, discrete or continuous, etc., or any other justifiable curve "joining", or "extending from", the 2 endpoints).