I am developing a "inflation adjustment" web app where an initial capital is adjusted based on some optimistic, realistic and pesimistic estimates using Monte Carlo Simulation.
The code is finished but the results don't match what I can see online regarding inflation adjustment.
Particularly I used this calculator with 1000 and 50% inflation and it shows 666.67 as a result after 1 year.
But if I compute $1000 / (1 + 0.5/365)^{365}$ the result is significantly less ($606.74$).
The error seems to be that I use a daily compounded formula instead of annualy compounded but, isn't it the proper way since inflation happens "on a daily basis" rather than all prices increasing only once a year?
Which would be the more realistic way to simulate inflation?
Put it in other terms, when we see X% inflation rate, do (the media) mean the annual interpretation or the daily one?
PS: I am new to this Stack Exchange subchannel and I have computer science background (no so much economics).