You can calculate this value using the following formula:
main.m56 chars2 lines
Where final_value
is the final value you want to calculate the difference from, and initial_value
is the initial value.
For example, if you want to calculate the difference between 10 and 5, divided by 5, you would use the following code:
main.m94 chars5 lines
This will result in a value of 1.
gistlibby LogSnag