Besides inflation there is also discounting, which measures the time value of money
Discounting states that money today is worth more than tomorrow, since it can be invested to earn an interest
You can compute today's value of future money using the formula below ๐