Fund Manager
PORTFOLIO MANAGEMENT SOFTWARE
Contact Us

Small rounding error on ROI yields

Comments, critical feedback, praise, or suggestions for new features.

Postby Bobo » Wed Sep 18, 2019 12:36 pm

I have been using the ROI_log.txt file for years now as input into my own program to get more than 2 decimals place accuracy. Now that FM gives 3 decimals accuracy for yields I have noticed sometimes my program calculates a result for example of 1.645333% while FM would show 1.646%, where FM should have rounded down not up (other times FM rounds up when it should round down). I believe my program provides a very accurate result of more then 3 decimal places, so I'm thinking when FM went to 3 decimals places, that perhaps it needs to do more iterations of the equation to provide 3 decimals place accuracy. The equation from the ROI_log.txt file I use usually has hundreds of terms as I use it to check the yield of my portfolio over a 1 year or longer period.
Bobo
 
Posts: 14
Joined: Fri Jul 22, 2016 9:49 am

Postby Mark » Wed Sep 18, 2019 3:35 pm

Hi Bobo,

Yes, you are right. Excellent catch. We are currently always calculating to within 0.001% on the yield, which could lead to some rounding issues when displaying a percentage out to 3 places. We will correct this for the next update.
Thanks,
Mark
Fund Manager - Portfolio Management Software
Mark
Site Admin
 
Posts: 11253
Joined: Thu Oct 25, 2007 2:24 pm
Location: Chandler, AZ

Postby Bobo » Thu Sep 19, 2019 8:42 am

I'm glad to be of service to the FM community.
Bobo
 
Posts: 14
Joined: Fri Jul 22, 2016 9:49 am


Return to Feedback

Who is online

Users browsing this forum: No registered users and 5 guests

FundManagerSoftware.com | Search | Site Map | About Us | Privacy Policy
Copyright © 1993-2024 Beiley Software, Inc. All rights reserved.