Calculator for calculating the relative change
This function calculates the relative change between two numbers.
A relative change is the change relative to the initial value of a number.
It is taken into account whether the change is positive or negative.
|
The relative change is calculated by subtracting the initial value from the final value and the difference thus calculated is divided by the absolute value of the initial value.
|