A $7 problem - sometimes $18...(Sim Finances being ever so slightly off lol)
Posted: Fri Mar 10, 2023 6:28 pm
Okay, shouldn't need to go into all the nuts and bolts here...but...long story short, I reverse-engineered the Daily Cap Calc for a spreadsheet so I could fully understand how it works (I'm weird).
I finally got all of the numbers on the finance page related to the cap lined up on Excel - 99.9% perfectly. However, for some reason, the finance page has a $7 (yes, seven dollars) difference from my spreadsheet.
Another GM also does the same thing and noticed today he's $18 (eighteen dollars) short from his spreadsheet to the finance page. So it's adding a very tiny amount somewhere in the complex calculation...and we are stumped as to where it's coming from.
It's not a rounding thing...we tried that and the rounding effect of our spreadsheets was literal pennies. Simon, could you check the calculation in the coding (I know next to nothing about coding lol) and see if there's some tiny little thing causing this very small discrepancy?
EDIT: My smart wife who also has coded for SAS and Red Hat thinks it may be something related to a "floating point" issue, if that helps.
I finally got all of the numbers on the finance page related to the cap lined up on Excel - 99.9% perfectly. However, for some reason, the finance page has a $7 (yes, seven dollars) difference from my spreadsheet.
Another GM also does the same thing and noticed today he's $18 (eighteen dollars) short from his spreadsheet to the finance page. So it's adding a very tiny amount somewhere in the complex calculation...and we are stumped as to where it's coming from.
It's not a rounding thing...we tried that and the rounding effect of our spreadsheets was literal pennies. Simon, could you check the calculation in the coding (I know next to nothing about coding lol) and see if there's some tiny little thing causing this very small discrepancy?
EDIT: My smart wife who also has coded for SAS and Red Hat thinks it may be something related to a "floating point" issue, if that helps.