PHP Architect · Vol 20, Issue 10 · October 2021
PHP Puzzles: Time Value of Money
by Oscar Merida
Is it better to get $100 today or $110 in one years time? The answer’s not straightforward because you could use $100 today to potentially earn more than $10 over 12 months. How do you know what to do? For that, you need to know how to calculate a rate of return or use it to compare amounts of money at different times. Hold on for a bit, we’re bending the time—space (money?) continuum.
The full article is in PHP Architect Vol 20, Issue 10. Subscribe to read it and every new issue.