Pushing the Limits

I’ve made a few more improvements to the calculator today. Since I added some comma separators to the output to improve the readability of larger numbers, I thought I should do something about the upper bound of the calculator. Before today, the calculator couldn’t amortize amounts larger than about 21.4million. This upper bound was imposed by the computer’s native word size and how I chose to round values to the nearest whole penny. By changing the rounding procedure, I have boosted that upper bound to under 10billion. Above this value, the calculator will silently start to lose resolution at the low end, but amortizing values in the 100s of millions should be possible now.

Leave a Reply